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

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents b367284a8ac3
children 228b9c951d97
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 &&
19 fix libtool &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libcap-ng)
27 copy bin/ libcap-ng.so*
28 PROVIDE="libcap"
29 ;;
30 *-python)
31 copy _capng.so capng.py
32 CAT="python|Python bindings"
33 DEPENDS="libcap-ng python"
34 ;;
35 *-dev)
36 copy @dev
37 ;;
38 esac
39 }