wok-next view libcap-ng/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
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 }