wok-current annotate gnet/receipt @ rev 15358
Up qemu (1.5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 01 13:32:31 2013 +0000 (2013-10-01) |
parents | 10e6c72b2c15 |
children | 97ac1a0d4e37 |
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" |
pascal@15022 | 8 LICENSE="LGPL" |
pankso@2742 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@2742 | 10 WEB_SITE="http://www.gnetlibrary.org/" |
pankso@2742 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnet/2.0/$TARBALL" |
pascal@15021 | 12 |
pascal@2845 | 13 DEPENDS="glib" |
pascal@12587 | 14 BUILD_DEPENDS="glib-dev" |
pankso@2742 | 15 |
pankso@2742 | 16 # Rules to configure and make the package. |
pankso@2742 | 17 compile_rules() |
pankso@2742 | 18 { |
pascal@12587 | 19 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12587 | 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lXt" |
pankso@2742 | 21 cd $src |
pankso@2742 | 22 ./configure \ |
pankso@2742 | 23 --prefix=/usr \ |
pankso@2742 | 24 --infodir=/usr/share/info \ |
pankso@2742 | 25 --mandir=/usr/share/man \ |
pankso@2742 | 26 $CONFIGURE_ARGS && |
pankso@2742 | 27 make && |
pascal@15021 | 28 make DESTDIR=$DESTDIR install |
pankso@2742 | 29 } |
pankso@2742 | 30 |
pankso@2742 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2742 | 32 genpkg_rules() |
pankso@2742 | 33 { |
pankso@2742 | 34 mkdir -p $fs/usr/lib |
pascal@15021 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@2742 | 36 } |
pankso@2742 | 37 |