compat-32/libpcap-32/Pkgfile

25 lines
511 B
Plaintext
Raw Normal View History

2018-11-12 00:20:25 +01:00
# Description: Packet capture library
# URL: http://www.tcpdump.org
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: libusb-32 libpcap
name=libpcap-32
version=1.9.0
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}
}