wok-current view libcap/receipt @ rev 22900

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