wok-6.x annotate libcap-ng/receipt @ rev 11479
libcap-ng: add python to build_depends
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 18 03:01:59 2011 +0100 (2011-12-18) |
parents | cfcf9233f396 |
children | 6c3718ca17b6 |
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" |
erjo@11451 | 8 WEB_SITE="http://people.redhat.com/sgrubb/libcap-ng/" |
erjo@11451 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11451 | 10 WGET_URL="http://people.redhat.com/sgrubb/libcap-ng/$TARBALL" |
erjo@11451 | 11 |
erjo@11451 | 12 DEPENDS="" |
gokhlayeh@11479 | 13 BUILD_DEPENDS="python" |
erjo@11451 | 14 PROVIDE="libcap" |
erjo@11451 | 15 |
erjo@11451 | 16 # Rules to configure and make the package. |
erjo@11451 | 17 compile_rules() |
erjo@11451 | 18 { |
erjo@11451 | 19 cd $src |
erjo@11451 | 20 |
erjo@11451 | 21 ./configure $CONFIGURE_ARGS && make && make install |
erjo@11451 | 22 } |
erjo@11451 | 23 |
erjo@11451 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11451 | 25 genpkg_rules() |
erjo@11451 | 26 { |
erjo@11451 | 27 mkdir -p $fs/usr/lib |
erjo@11451 | 28 |
erjo@11451 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@11451 | 30 cp -a $install/usr/bin $fs/usr |
erjo@11451 | 31 } |