wok annotate antinat/receipt @ rev 15267

fbxkb, icedtea6-jdk: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 11:22:57 2013 +0000 (2013-09-25)
parents b6aaf868a042
children f0a0b5091b4a
rev   line source
pascal@14593 1 # SliTaz package receipt.
pascal@14593 2
pascal@14593 3 PACKAGE="antinat"
pascal@14593 4 VERSION="0.90"
pascal@14593 5 CATEGORY="network"
pascal@14593 6 SHORT_DESC="Flexible SOCKS server & client library for proxy-based applications."
pascal@14593 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pascal@14593 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@14593 10 WEB_SITE="http://antinat.sourceforge.net/"
pascal@14593 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@14593 12
pascal@14593 13 DEPENDS="expat"
pascal@14593 14 BUILD_DEPENDS="expat-dev"
pascal@14593 15
pascal@14593 16 # Rules to configure and make the package.
pascal@14593 17 compile_rules()
pascal@14593 18 {
pascal@14593 19 cd $src
pascal@14593 20 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
pascal@14593 21 make &&
pascal@14593 22 make prefix=$DESTDIR/usr install
pascal@14593 23 }
pascal@14593 24
pascal@14593 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14593 26 genpkg_rules()
pascal@14593 27 {
pascal@14593 28 mkdir -p $fs/usr/lib $fs/etc
pascal@14593 29 cp $src/etc/antinat.xml $fs/etc
pascal@14593 30 chmod 600 $fs/etc/antinat.xml
pascal@14593 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14593 32 cp -a $install/usr/bin $fs/usr
pascal@14593 33 cp -a $install/usr/var $fs
pascal@14593 34 }