blob: eb52777f72fbb95cd4a9c29d90bec61f27163969 (
plain)
1 # Description: Packet capture library
2 # URL: https://www.tcpdump.org
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: libpcap libusb-32
5
6 name=libpcap-32
7 version=1.10.3
8 release=1
9 source=(https://www.tcpdump.org/release/${name%-*}-$version.tar.gz)
10
11 build() {
12 cd ${name%-*}-$version
13
14 ./configure \
15 --prefix=/usr \
16 --libdir=/usr/lib32 \
17 --disable-dbus \
18 --without-libnl
19
20 make
21 make DESTDIR=$PKG install install-shared
22
23 rm -r $PKG/usr/{bin,include,share/man,share}
24 }
|