aboutsummaryrefslogtreecommitdiff
path: root/community/libcap/build
blob: c35c2254559b347a548441da837e0e3c93d93543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

sed -i '45d;46d' progs/Makefile

mk() {
    make \
        GOLANG=no \
        PREFIX=/usr \
        SBINDIR=/usr/bin \
        LIBDIR=/usr/lib \
        PKGCONFIGDIR=/usr/lib/pkgconfig \
        RAISE_SETFCAP=no \
        INDENT=" " \
        PAM_CAP=no \
        "$@"
}

mk
mk DESTDIR="$1" install