wok-next view gnet/receipt @ rev 20649

grub2-efi: remove duplicate modules (thanks alanyih)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 04 10:48:37 2018 +0200 (2018-05-04)
parents c3a368c0cddb
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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 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="gnet-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=$DESTDIR 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 }