blob: 8c347d25360312be1614b13663b5489a105fd26f (
plain)
1 # Description: A library for Linux that makes using posix capabilities easy
2 # URL: https://github.com/stevegrubb/libcap-ng
3 # Maintainer: Aaron Ball, nullspoon at oper dot io
4 # Depends on:
5
6 name=libcap-ng
7 version=0.8.5
8 release=1
9 source=(https://github.com/stevegrubb/${name}/archive/refs/tags/v${version}.tar.gz)
10
11 build() {
12 cd "${name}-${version}"
13
14 ./autogen.sh
15 ./configure \
16 --enable-static=no \
17 --prefix=/usr \
18 --with-python3 \
19 --without-python
20
21 # Fixes https://github.com/stevegrubb/libcap-ng/issues/53
22 sed -i '/PYTHON = $(PYTHON3)/d' bindings/python3/Makefile.am
23
24 make
25 make DESTDIR="${PKG}" install
26 }
|