wok-current annotate libcap/receipt @ rev 19687

fix phproxy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 17:16:31 2017 +0100 (2017-02-12)
parents 132cb5109518
children 3e7ded8526ee
rev   line source
pankso@6 1 # SliTaz package receipt.
pankso@6 2
pankso@6 3 PACKAGE="libcap"
devl547@17650 4 VERSION="2.24"
pankso@211 5 CATEGORY="system-tools"
pankso@6 6 SHORT_DESC="Support for getting/setting POSIX.1e capabilities."
pankso@6 7 MAINTAINER="pankso@slitaz.org"
pascal@15472 8 LICENSE="BSD"
devl547@17650 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@12722 10 WEB_SITE="http://sites.google.com/site/fullycapable/"
pascal@12721 11 WGET_URL="http://ftp.df.lth.se/pub/linux/libs/security/linux-privs/libcap2/$TARBALL"
pankso@16236 12 HOST_ARCH="i486 arm"
pankso@6 13
pankso@16236 14 DEPENDS="attr"
pankso@16236 15 BUILD_DEPENDS="gperf pam-dev attr-dev"
pankso@16236 16
pankso@16236 17 # Handle cross compilation.
pankso@16236 18 case "$ARCH" in
pankso@16236 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl" ;;
pankso@16236 20 arm*) ARCH_ARGS="CC=$HOST_SYSTEM-gcc BUILD_CC=gcc" ;;
pankso@16236 21 esac
pascal@15472 22
pankso@6 23 # Rules to configure and make the package.
pankso@6 24 compile_rules()
pankso@6 25 {
pankso@16236 26 make DYNAMIC=yes ${ARCH_ARGS} &&
slaxemulator@10133 27 make RAISE_SETCAP=no DESTDIR=$DESTDIR install
pankso@6 28 }
pankso@6 29
pankso@6 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@6 31 genpkg_rules()
pankso@6 32 {
pascal@2197 33 mkdir -p $fs/lib
pascal@15472 34 cp -a $install/lib/*.so* $fs/lib
pascal@15472 35 cp -a $install/sbin $fs
pankso@6 36 }