wok view libcap/receipt @ rev 19448
fltk-colbrowser: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 15 22:36:36 2016 +0200 (2016-10-15) |
parents | 132cb5109518 |
children | 3e7ded8526ee |
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 make DYNAMIC=yes ${ARCH_ARGS} &&
27 make RAISE_SETCAP=no DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/lib
34 cp -a $install/lib/*.so* $fs/lib
35 cp -a $install/sbin $fs
36 }