wok annotate antinat/receipt @ rev 20719

updated apulse (0.1.10 -> 0.1.12)
author Hans-G?nter Theisgen
date Fri Feb 08 14:58:54 2019 +0100 (2019-02-08)
parents 658dbc88032b
children 3e7ff947f644
rev   line source
pascal@14593 1 # SliTaz package receipt.
pascal@14593 2
pascal@14593 3 PACKAGE="antinat"
Hans-G?nter@20709 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"
al@19275 9 WEB_SITE="http://antinat.sourceforge.net/"
Hans-G?nter@20708 10
pascal@14593 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@20709 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@20709 13 #WGET_URL="http://www.malsmith.net/download/?obj=$PACKAGE/$VERSION/$PACKAGE-source.tar.bz2"
pascal@14593 14
pascal@14593 15 DEPENDS="expat"
pascal@14593 16 BUILD_DEPENDS="expat-dev"
pascal@14593 17
pascal@14593 18 # Rules to configure and make the package.
pascal@14593 19 compile_rules()
pascal@14593 20 {
pascal@14593 21 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
pascal@14593 22 make &&
pascal@14593 23 make prefix=$DESTDIR/usr install
al@19265 24
al@19275 25 cook_pick_manpages $src/man/*.1 $src/man/*.3 $src/man/*.4
pascal@14593 26 }
pascal@14593 27
al@19265 28 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19265 29 genpkg_rules()
pascal@14593 30 {
pascal@14593 31 mkdir -p $fs/usr/lib $fs/etc
pascal@14593 32 cp $src/etc/antinat.xml $fs/etc
pascal@14593 33 chmod 600 $fs/etc/antinat.xml
pascal@14593 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14593 35 cp -a $install/usr/bin $fs/usr
pascal@14593 36 cp -a $install/usr/var $fs
pascal@14593 37 }