wok-current annotate gnet/receipt @ rev 5185
Up: slitaz-tools (3.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 28 00:44:16 2010 +0100 (2010-03-28) |
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 |