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

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 
}