summaryrefslogtreecommitdiff
path: root/data/libpcap/make.sh
blob: b859c4a42855fd3c78c8506f97c9238b6e33ce02 (plain)
1
2
3
4
5
6
7
8
pkg:setup
pkg:configure --with-pcap=bpf --disable-universal CFLAGS="-O2 -fno-common -D__APPLE__ -DPRIVATE"
make
mkdir -p "${PKG_DEST}/usr/lib"
pkg: mkdir -p /usr/bin
make install install-shared DESTDIR="${PKG_DEST}"
pkg: rm -f /usr/lib/libpcap.a
pkg: ln -s libpcap.A.dylib /usr/lib/libpcap.0.dylib