2019-03-18 21:01:25 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://sites.google.com/site/fullycapable/
|
|
|
|
TERMUX_PKG_DESCRIPTION="POSIX 1003.1e capabilities"
|
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-08-17 07:46:59 +02:00
|
|
|
TERMUX_PKG_VERSION=2.43
|
2019-03-18 21:01:25 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${TERMUX_PKG_VERSION}.tar.xz
|
2020-08-17 07:46:59 +02:00
|
|
|
TERMUX_PKG_SHA256=512a0e5fc4c1e06d472a20da26aa96a9b9bf2a26b23f094f77f1b8da56cc427f
|
2019-03-18 21:01:25 +01:00
|
|
|
TERMUX_PKG_DEPENDS="attr"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libcap-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libcap-dev"
|
2019-03-18 21:01:25 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_make() {
|
2019-03-25 15:54:49 +01:00
|
|
|
make CC="$CC -Wl,-rpath=$TERMUX_PREFIX/lib -Wl,--enable-new-dtags" PREFIX="$TERMUX_PREFIX"
|
2019-03-18 21:01:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
2019-03-25 15:54:49 +01:00
|
|
|
make CC="$CC -Wl,-rpath=$TERMUX_PREFIX/lib -Wl,--enable-new-dtags" prefix="$TERMUX_PREFIX" RAISE_SETFCAP=no lib=/lib install
|
2019-03-18 21:01:25 +01:00
|
|
|
}
|