wok-6.x annotate antinat/receipt @ rev 19360
Up tazpkg (916)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 01 16:27:13 2016 +0200 (2016-08-01) |
parents | f0a0b5091b4a |
children | 658dbc88032b |
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" |
al@19275 | 9 WEB_SITE="http://antinat.sourceforge.net/" |
pascal@14593 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS && |
pascal@14593 | 20 make && |
pascal@14593 | 21 make prefix=$DESTDIR/usr install |
al@19265 | 22 |
al@19275 | 23 cook_pick_manpages $src/man/*.1 $src/man/*.3 $src/man/*.4 |
pascal@14593 | 24 } |
pascal@14593 | 25 |
al@19265 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19265 | 27 genpkg_rules() |
pascal@14593 | 28 { |
pascal@14593 | 29 mkdir -p $fs/usr/lib $fs/etc |
pascal@14593 | 30 cp $src/etc/antinat.xml $fs/etc |
pascal@14593 | 31 chmod 600 $fs/etc/antinat.xml |
pascal@14593 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14593 | 33 cp -a $install/usr/bin $fs/usr |
pascal@14593 | 34 cp -a $install/usr/var $fs |
pascal@14593 | 35 } |