wok-next view libcap-ng/receipt @ rev 21420

updated puzzles ( -> 20200413)
author Hans-G?nter Theisgen
date Mon Apr 27 17:23:45 2020 +0100 (2020-04-27)
parents 228b9c951d97
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libcap-ng"
4 VERSION="0.7.9"
5 CATEGORY="security"
6 SHORT_DESC="New generation libcap library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://people.redhat.com/sgrubb/libcap-ng/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://people.redhat.com/sgrubb/libcap-ng/$TARBALL"
14 BUILD_DEPENDS="python-dev swig coreutils-file-format"
15 SPLIT="$PACKAGE-python $PACKAGE-dev"
17 compile_rules() {
18 ./configure \
19 --disable-static \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libcap-ng)
29 copy bin/ libcap-ng.so*
30 PROVIDE="libcap"
31 ;;
32 *-python)
33 copy _capng.so capng.py
34 CAT="python|Python bindings"
35 DEPENDS="libcap-ng python"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }