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

DEPS=(glibc)

SOURCE=https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v0.8.2.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
}