wok view gnet/receipt @ rev 20690

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 31 23:57:12 2019 +0100 (2019-01-31)
parents 373f11838ade
children 63cdeb5a1e77
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="https://github.com/GNOME/gnet"
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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i '/define _tcase_add_test/d' tests/check/gnetcheck.h
20 sed -i 's/boolean.*_gnet_check_run_test_func.*/&\n#define _tcase_add_test __gnet_tcase_add_test/' tests/check/gnetcheck.h
21 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt"
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }