wok annotate gnet/receipt @ rev 13636
Up: ecore (1.7.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Nov 16 00:00:52 2012 +0100 (2012-11-16) |
parents | 583bdd691510 |
children | 10e6c72b2c15 |
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" |
pascal@12587 | 12 BUILD_DEPENDS="glib-dev" |
pankso@2742 | 13 |
pankso@2742 | 14 # Rules to configure and make the package. |
pankso@2742 | 15 compile_rules() |
pankso@2742 | 16 { |
pascal@12587 | 17 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12587 | 18 export LDFLAGS="-Wl,--copy-dt-needed-entries -lXt" |
pankso@2742 | 19 cd $src |
pankso@2742 | 20 ./configure \ |
pankso@2742 | 21 --prefix=/usr \ |
pankso@2742 | 22 --infodir=/usr/share/info \ |
pankso@2742 | 23 --mandir=/usr/share/man \ |
pankso@2742 | 24 $CONFIGURE_ARGS && |
pankso@2742 | 25 make && |
pankso@2742 | 26 make DESTDIR=$PWD/_pkg install |
pankso@2742 | 27 } |
pankso@2742 | 28 |
pankso@2742 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2742 | 30 genpkg_rules() |
pankso@2742 | 31 { |
pankso@2742 | 32 mkdir -p $fs/usr/lib |
pankso@2742 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2742 | 34 } |
pankso@2742 | 35 |