wok-6.x view libcap/receipt @ rev 23015

updated libcap, libcap-dev and libcap-pam (2.24 -> 2.33)
author Hans-G?nter Theisgen
date Tue Mar 03 11:11:03 2020 +0100 (2020-03-03)
parents 3e7ded8526ee
children fd77b7a17bd3
line source
1 # SliTaz package receipt.
3 PACKAGE="libcap"
4 VERSION="2.33"
5 CATEGORY="system-tools"
6 SHORT_DESC="Support for getting and setting POSIX.1e capabilities."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://sites.google.com/site/fullycapable/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://ftp.df.lth.se/pub/linux/libs/security/linux-privs/libcap2/$TARBALL"
14 DEPENDS="attr"
15 BUILD_DEPENDS="attr-dev gperf pam-dev"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation.
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl" ;;
22 arm*) ARCH_ARGS="CC=$HOST_SYSTEM-gcc BUILD_CC=gcc" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|INCLUDE_GPERF_OUTPUT = |&-include stddef.h |' \
29 libcap/Makefile
31 make DYNAMIC=yes ${ARCH_ARGS} &&
32 make RAISE_SETCAP=no DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/lib
40 cp -a $install/lib/*.so* $fs/lib
41 cp -a $install/sbin $fs
42 }