wok annotate gnet/receipt @ rev 11451
Add: libcap-ng
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Dec 17 10:53:46 2011 +0100 (2011-12-17) |
parents | b995bbc41b98 |
children | 302b6e838442 |
rev | line source |
---|---|
pankso@2742 | 1 # SliTaz package receipt. |
pankso@2742 | 2 |
pankso@2742 | 3 PACKAGE="gnet" |
pankso@2742 | 4 VERSION="2.0.8" |
pankso@2742 | 5 CATEGORY="network" |
pankso@2742 | 6 SHORT_DESC="GNet is a simple network library." |
pankso@2742 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2742 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@2742 | 9 WEB_SITE="http://www.gnetlibrary.org/" |
pankso@2742 | 10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnet/2.0/$TARBALL" |
pascal@2845 | 11 DEPENDS="glib" |
pankso@2742 | 12 |
pankso@2742 | 13 # Rules to configure and make the package. |
pankso@2742 | 14 compile_rules() |
pankso@2742 | 15 { |
pankso@2742 | 16 cd $src |
pankso@2742 | 17 ./configure \ |
pankso@2742 | 18 --prefix=/usr \ |
pankso@2742 | 19 --infodir=/usr/share/info \ |
pankso@2742 | 20 --mandir=/usr/share/man \ |
pankso@2742 | 21 $CONFIGURE_ARGS && |
pankso@2742 | 22 make && |
pankso@2742 | 23 make DESTDIR=$PWD/_pkg install |
pankso@2742 | 24 } |
pankso@2742 | 25 |
pankso@2742 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2742 | 27 genpkg_rules() |
pankso@2742 | 28 { |
pankso@2742 | 29 mkdir -p $fs/usr/lib |
pankso@2742 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2742 | 31 } |
pankso@2742 | 32 |