wok-next view gnet/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnet"
4 VERSION="2.0.8"
5 CATEGORY="network"
6 SHORT_DESC="Simple network library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="https://github.com/GNOME/gnet"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="glib-dev util-linux-uuid-dev libxt"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt"
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make DESTDIR=$install install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 gnet)
30 copy @std
31 DEPENDS="glib"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }