wok annotate antinat/receipt @ rev 21731
updated puzzles ( -> 20190415)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 13 13:09:35 2019 +0100 (2019-06-13) |
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 } |