wok-next view gnet/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a5d7827e08cf |
children | 5669e8b3be70 |
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="http://www.gnetlibrary.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="glib-dev util-linux-uuid-dev xorg-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 }