wok-next annotate libcap-ng/receipt @ rev 20433

mupdf: update patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 05 15:11:20 2018 +0100 (2018-02-05)
parents 6c3718ca17b6
children 0ec6086e21d6
rev   line source
al@20095 1 # SliTaz package receipt v2.
erjo@11451 2
erjo@11451 3 PACKAGE="libcap-ng"
al@20095 4 VERSION="0.7.8"
erjo@11451 5 CATEGORY="security"
al@20095 6 SHORT_DESC="New generation libcap library"
erjo@11451 7 MAINTAINER="erjo@slitaz.org"
pascal@15472 8 LICENSE="GPL2 LGPL2.1"
erjo@11451 9 WEB_SITE="http://people.redhat.com/sgrubb/libcap-ng/"
al@20095 10
erjo@11451 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@11451 12 WGET_URL="http://people.redhat.com/sgrubb/libcap-ng/$TARBALL"
erjo@11451 13
al@20095 14 BUILD_DEPENDS="python-dev swig coreutils-file-format"
al@20095 15 SPLIT="libcap-ng-python libcap-ng-dev"
erjo@11451 16
al@20095 17 compile_rules() {
erjo@11451 18 ./configure $CONFIGURE_ARGS && make && make install
erjo@11451 19 }
erjo@11451 20
al@20095 21 genpkg_rules() {
al@20095 22 case $PACKAGE in
al@20095 23 libcap-ng)
al@20095 24 copy bin/ libcap-ng.so*
al@20095 25 PROVIDE="libcap"
al@20095 26 ;;
al@20095 27 *-python)
al@20095 28 copy _capng.so capng.py
al@20095 29 CAT="python|Python bindings"
al@20095 30 DEPENDS="libcap-ng python"
al@20095 31 ;;
al@20095 32 *-dev)
al@20095 33 copy @dev
al@20095 34 ;;
al@20095 35 esac
erjo@11451 36 }