forked from ports/compat-32
25 lines
505 B
Plaintext
25 lines
505 B
Plaintext
# Description: Packet capture library
|
|
# URL: https://www.tcpdump.org
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: libpcap libusb-32
|
|
|
|
name=libpcap-32
|
|
version=1.10.4
|
|
release=1
|
|
source=(https://www.tcpdump.org/release/${name%-*}-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--disable-dbus \
|
|
--without-libnl
|
|
|
|
make
|
|
make DESTDIR=$PKG install install-shared
|
|
|
|
rm -r $PKG/usr/{bin,include,share/man,share}
|
|
}
|