summaryrefslogtreecommitdiff
path: root/core/libnl/MAKEPKG
blob: 139f0b40c732ee5f08ab1244462e7c77fde848b2 (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
37
38
39
#!/bin/mkpkg
# description: Netlink protocol library suite
# url: https://github.com/thom311/libnl

name=libnl
version=3.12.0
release=2
source=(https://github.com/thom311/libnl/releases/download/libnl3_12_0/$name-$version.tar.gz)

sha256sums=(
    "fc51ca7196f1a3f5fdf6ffd3864b50f4f9c02333be28be4eeca057e103c0dd18"
)

build() {
    cd $name-$version

    ./configure \
        --prefix=/ \
        --bindir=/bin \
        --libdir=/lib \
        --includedir=/include \
        --sysconfdir=/etc \
        --mandir=/usr/share/man \
        --disable-static \
        --disable-cli \
        PKG_CONFIG=/bin/true

    make
    make DESTDIR=$PKG install

    rm -rf $PKG/share
}

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

# vim: filetype=sh