wok-current annotate antinat/receipt @ rev 14593
Add antinat
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 27 12:17:25 2013 +0200 (2013-05-27) |
parents | |
children | 7896f0694ef6 |
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@14593 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14593 | 9 WEB_SITE="http://antinat.sourceforge.net/" |
pascal@14593 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@14593 | 11 |
pascal@14593 | 12 DEPENDS="expat" |
pascal@14593 | 13 BUILD_DEPENDS="expat-dev" |
pascal@14593 | 14 |
pascal@14593 | 15 # Rules to configure and make the package. |
pascal@14593 | 16 compile_rules() |
pascal@14593 | 17 { |
pascal@14593 | 18 cd $src |
pascal@14593 | 19 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS && |
pascal@14593 | 20 make && |
pascal@14593 | 21 make prefix=$DESTDIR/usr install |
pascal@14593 | 22 } |
pascal@14593 | 23 |
pascal@14593 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14593 | 25 genpkg_rules() |
pascal@14593 | 26 { |
pascal@14593 | 27 mkdir -p $fs/usr/lib $fs/etc |
pascal@14593 | 28 cp $src/etc/antinat.xml $fs/etc |
pascal@14593 | 29 chmod 600 $fs/etc/antinat.xml |
pascal@14593 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14593 | 31 cp -a $install/usr/bin $fs/usr |
pascal@14593 | 32 cp -a $install/usr/var $fs |
pascal@14593 | 33 } |