wok-6.x annotate libcap/receipt @ rev 23795
updated zsh (5.7.1 -> 5.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 22 13:48:01 2020 +0100 (2020-05-22) |
parents | 0a32887d9b8c |
children | 675c9264bc6a |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="libcap" |
Hans-G?nter@23015 | 4 VERSION="2.33" |
pankso@211 | 5 CATEGORY="system-tools" |
Hans-G?nter@23015 | 6 SHORT_DESC="Support for getting and setting POSIX.1e capabilities." |
pankso@6 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15472 | 8 LICENSE="BSD" |
Hans-G?nter@23015 | 9 WEB_SITE="http://sites.google.com/site/fullycapable/" |
Hans-G?nter@23015 | 10 |
devl547@17650 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@23016 | 12 WGET_URL="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$TARBALL" |
pankso@6 | 13 |
pankso@16236 | 14 DEPENDS="attr" |
Hans-G?nter@23015 | 15 BUILD_DEPENDS="attr-dev gperf pam-dev" |
Hans-G?nter@23015 | 16 |
Hans-G?nter@23015 | 17 HOST_ARCH="i486 arm" |
pankso@16236 | 18 |
pankso@16236 | 19 # Handle cross compilation. |
pankso@16236 | 20 case "$ARCH" in |
pankso@16236 | 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl" ;; |
pankso@16236 | 22 arm*) ARCH_ARGS="CC=$HOST_SYSTEM-gcc BUILD_CC=gcc" ;; |
pankso@16236 | 23 esac |
pascal@15472 | 24 |
pankso@6 | 25 # Rules to configure and make the package. |
pankso@6 | 26 compile_rules() |
pankso@6 | 27 { |
Hans-G?nter@23015 | 28 sed -i 's|INCLUDE_GPERF_OUTPUT = |&-include stddef.h |' \ |
Hans-G?nter@23015 | 29 libcap/Makefile |
Hans-G?nter@23015 | 30 |
pankso@16236 | 31 make DYNAMIC=yes ${ARCH_ARGS} && |
slaxemulator@10133 | 32 make RAISE_SETCAP=no DESTDIR=$DESTDIR install |
pankso@6 | 33 } |
pankso@6 | 34 |
pankso@6 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 36 genpkg_rules() |
pankso@6 | 37 { |
pascal@2197 | 38 mkdir -p $fs/lib |
Hans-G?nter@23015 | 39 |
Hans-G?nter@23015 | 40 cp -a $install/lib/*.so* $fs/lib |
Hans-G?nter@23015 | 41 cp -a $install/sbin $fs |
pankso@6 | 42 } |