wok-6.x annotate libcap-ng/receipt @ rev 19541
Up cookutils (843)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 05 04:55:00 2016 +0200 (2016-12-05) |
parents | 54d9c01beaff |
children | 43187d86cff3 |
rev | line source |
---|---|
erjo@11451 | 1 # SliTaz package receipt. |
erjo@11451 | 2 |
erjo@11451 | 3 PACKAGE="libcap-ng" |
erjo@11451 | 4 VERSION="0.6.6" |
erjo@11451 | 5 CATEGORY="security" |
erjo@11451 | 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/" |
erjo@11451 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11451 | 11 WGET_URL="http://people.redhat.com/sgrubb/libcap-ng/$TARBALL" |
erjo@11451 | 12 |
erjo@11451 | 13 DEPENDS="" |
gokhlayeh@11479 | 14 BUILD_DEPENDS="python" |
erjo@11451 | 15 PROVIDE="libcap" |
erjo@11451 | 16 |
erjo@11451 | 17 # Rules to configure and make the package. |
erjo@11451 | 18 compile_rules() |
erjo@11451 | 19 { |
erjo@11451 | 20 cd $src |
erjo@11451 | 21 |
erjo@11451 | 22 ./configure $CONFIGURE_ARGS && make && make install |
erjo@11451 | 23 } |
erjo@11451 | 24 |
erjo@11451 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11451 | 26 genpkg_rules() |
erjo@11451 | 27 { |
erjo@11451 | 28 mkdir -p $fs/usr/lib |
erjo@11451 | 29 |
erjo@11451 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@11451 | 31 cp -a $install/usr/bin $fs/usr |
erjo@11451 | 32 } |