wok-next view gnet/receipt @ rev 20194

Up irrlicht (1.8.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 03 11:27:16 2017 +0100 (2017-11-03)
parents d3eb5f4b53ea
children c3a368c0cddb
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/${VERSION%.*}/$TARBALL"
13 DEPENDS="glib"
14 BUILD_DEPENDS="glib-dev util-linux-uuid-dev xorg-libXt"
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 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }