termux-packages/packages/libcap/build.sh
Butta 7685610163 fdupes: update from 2.1.1 to 2.1.2
imagemagick: update from 7.0.10.26 to 7.0.10.27

k2pdfopt: update from 2.51 to 2.52

knockd: update from 0.7 to 0.8.1

kubectl: update from 1.18.6 to 1.18.7

leptonica: update from 1.79.0 to 1.80.0

libcap: update from 2.40 to 2.42
2020-08-13 15:12:19 +05:30

19 lines
762 B
Bash

TERMUX_PKG_HOMEPAGE=https://sites.google.com/site/fullycapable/
TERMUX_PKG_DESCRIPTION="POSIX 1003.1e capabilities"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=2.42
TERMUX_PKG_SRCURL=https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=3605a9cb60076547ea9f64989e0ba576da9508e4653e8dc40ae54c0d6f443dfd
TERMUX_PKG_DEPENDS="attr"
TERMUX_PKG_BREAKS="libcap-dev"
TERMUX_PKG_REPLACES="libcap-dev"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
make CC="$CC -Wl,-rpath=$TERMUX_PREFIX/lib -Wl,--enable-new-dtags" PREFIX="$TERMUX_PREFIX"
}
termux_step_make_install() {
make CC="$CC -Wl,-rpath=$TERMUX_PREFIX/lib -Wl,--enable-new-dtags" prefix="$TERMUX_PREFIX" RAISE_SETFCAP=no lib=/lib install
}