wok-next annotate gnet/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | c3a368c0cddb |
children | d5aab818505e |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
pankso@2742 | 2 |
pankso@2742 | 3 PACKAGE="gnet" |
pankso@2742 | 4 VERSION="2.0.8" |
pankso@2742 | 5 CATEGORY="network" |
al@20456 | 6 SHORT_DESC="GNet is a simple network library" |
pankso@2742 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15022 | 8 LICENSE="LGPL" |
al@20456 | 9 WEB_SITE="http://www.gnetlibrary.org/" |
al@20456 | 10 |
pankso@2742 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20570 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@15021 | 13 |
al@20456 | 14 BUILD_DEPENDS="glib-dev util-linux-uuid-dev xorg-libXt" |
al@20456 | 15 SPLIT="gnet-dev" |
pankso@2742 | 16 |
al@20456 | 17 compile_rules() { |
pascal@12587 | 18 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt" |
al@20570 | 20 |
al@20570 | 21 ./configure $CONFIGURE_ARGS && |
al@20570 | 22 fix libtool && |
pankso@2742 | 23 make && |
pascal@15021 | 24 make DESTDIR=$DESTDIR install |
pankso@2742 | 25 } |
pankso@2742 | 26 |
al@20456 | 27 genpkg_rules() { |
al@20456 | 28 case $PACKAGE in |
al@20456 | 29 gnet) |
al@20456 | 30 copy @std |
al@20456 | 31 DEPENDS="glib" |
al@20456 | 32 ;; |
al@20456 | 33 *-dev) |
al@20456 | 34 copy @dev |
al@20456 | 35 ;; |
al@20456 | 36 esac |
pankso@2742 | 37 } |