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-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-11-06 20:54:02 +01:00
|
|
|
TERMUX_PKG_VERSION=2.60
|
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
|
2021-11-06 20:54:02 +01:00
|
|
|
TERMUX_PKG_SHA256=06a92076ce39a78bd28089e32085f1bde7f3bfa448fad37d895c2358f760b2eb
|
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() {
|
2021-11-06 20:54:02 +01:00
|
|
|
make CC="$CC -Wl,-rpath=$TERMUX_PREFIX/lib -Wl,--enable-new-dtags" OBJCOPY=llvm-objcopy PREFIX="$TERMUX_PREFIX" PTHREADS=no
|
2019-03-18 21:01:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
2021-11-06 20:54:02 +01:00
|
|
|
make CC="$CC -Wl,-rpath=$TERMUX_PREFIX/lib -Wl,--enable-new-dtags" OBJCOPY=llvm-objcopy prefix="$TERMUX_PREFIX" RAISE_SETFCAP=no lib=/lib PTHREADS=no install
|
2019-03-18 21:01:25 +01:00
|
|
|
}
|