wok-next view libcap-ng/receipt @ rev 21037
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 06 16:35:54 2018 +0200 (2018-11-06) |
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 }