wok-next view libcap-ng/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 6c3718ca17b6 |
children | 0ec6086e21d6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libcap-ng"
4 VERSION="0.7.8"
5 CATEGORY="security"
6 SHORT_DESC="New generation libcap library"
7 MAINTAINER="erjo@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="libcap-ng-python libcap-ng-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS && make && make install
19 }
21 genpkg_rules() {
22 case $PACKAGE in
23 libcap-ng)
24 copy bin/ libcap-ng.so*
25 PROVIDE="libcap"
26 ;;
27 *-python)
28 copy _capng.so capng.py
29 CAT="python|Python bindings"
30 DEPENDS="libcap-ng python"
31 ;;
32 *-dev)
33 copy @dev
34 ;;
35 esac
36 }