0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-11 13:09:19 +00:00
glibc-packages/gpkg/libcap/build.sh
Ivan Max 2746353a57
new packages to gpkg (#95)
gpkg/bash-completion
gpkg/pam
gpkg/util-linux
gpkg/e2fsprogs
gpkg/libevent
gpkg/krb5
gpkg/libverto
gpkg/libcurl
gpkg/libarchive
2023-09-12 17:15:13 +03:00

20 lines
709 B
Bash

TERMUX_PKG_HOMEPAGE=https://sites.google.com/site/fullycapable/
TERMUX_PKG_DESCRIPTION="POSIX 1003.1e capabilities"
TERMUX_PKG_LICENSE="BSD 3-Clause, GPL-2.0"
TERMUX_PKG_LICENSE_FILE="License"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION=2.69
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=f311f8f3dad84699d0566d1d6f7ec943a9298b28f714cae3c931dfd57492d7eb
TERMUX_PKG_DEPENDS="libpam-glibc"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
make CC="$CC" PREFIX="$TERMUX_PREFIX"
}
termux_step_make_install() {
make CC="$CC" prefix="$TERMUX_PREFIX" RAISE_SETFCAP=no lib=/lib install
}