summaryrefslogtreecommitdiff
path: root/repo/system/libpcap.xibuild
blob: 27e56c586ceaa51e531e753d5b45176b2a54ef7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

MAKEDEPS="make "
DEPS="libnl libusb"

PKG_VER=1.10.1
SOURCE=https://www.tcpdump.org/release/libpcap-$PKG_VER.tar.gz
DESC="A library providing user level packet capture"

build () {
    ./configure \
            --prefix=/usr
    make
}

package () {
    make DESTDIR=$PKG_DEST install 
}