wok-current view gnet/receipt @ rev 17736
prelink: force libpthread link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 12:45:18 2015 +0100 (2015-03-06) |
parents | 97ac1a0d4e37 |
children | d3eb5f4b53ea |
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 LICENSE="LGPL"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnetlibrary.org/"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnet/2.0/$TARBALL"
13 DEPENDS="glib"
14 BUILD_DEPENDS="glib-dev util-linux-uuid-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt"
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }