wok-next annotate gnet/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
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@21020 6 SHORT_DESC="Simple network library"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15022 8 LICENSE="LGPL"
pascal@21157 9 WEB_SITE="https://github.com/GNOME/gnet"
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@21078 14 BUILD_DEPENDS="glib-dev util-linux-uuid-dev libxt"
al@21020 15 SPLIT="$PACKAGE-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 &&
al@21020 24 make DESTDIR=$install 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 }