wok-6.x view gnet/receipt @ rev 12721
libcap: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 05 12:38:16 2012 +0200 (2012-05-05) |
parents | 583bdd691510 |
children | 10e6c72b2c15 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnet"
4 VERSION="2.0.8"
5 CATEGORY="network"
6 SHORT_DESC="GNet is a simple network library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnetlibrary.org/"
10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnet/2.0/$TARBALL"
11 DEPENDS="glib"
12 BUILD_DEPENDS="glib-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
18 export LDFLAGS="-Wl,--copy-dt-needed-entries -lXt"
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }