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

DEPS=(glibc)

PKG_VER=0.8.2
SOURCE=https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v$PKG_VER.tar.gz

DESC="A library for linux that makes posix capabilities easy"

build () {
    ./autogen.sh
    ./configure --prefix=/usr
    make prefix=/usr lib=lib
}

package() {
    make prefix=/usr lib=lib DESTDIR=$PKG_DEST install
}