summaryrefslogtreecommitdiff
path: root/libs/libpcap/MAKEPKG
blob: dc8536b3bd34d9c853d690f193f9c26fc758d8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/mkpkg
# description: Portable packet capture library
# url: https://www.tcpdump.org

name=libpcap
version=1.11.0
release=1
depends=()
source=(https://www.tcpdump.org/release/$name-$version.tar.xz)

sha256sums=(
    "9237f5bae9dcf3a91823d9963ec43b7c0e2e3374ef2ad57d92c8cd39530f4723"
)

build() {
    cd $name-$version

    ./configure \
        --prefix=/usr \
        --enable-ipv6 \
        --without-libnl \
        --disable-dbus \
        --disable-bluetooth \
        --disable-usb \
        --disable-rdma

    make
    make DESTDIR=$PKG install
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh