wok annotate antinat/receipt @ rev 22954
updated iperf (2.0.13 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 15:11:56 2020 +0100 (2020-02-28) |
parents | acac2eedb66f |
children | 5f6c5106b1f5 |
rev | line source |
---|---|
pascal@14593 | 1 # SliTaz package receipt. |
pascal@14593 | 2 |
pascal@14593 | 3 PACKAGE="antinat" |
Hans-G?nter@22483 | 4 VERSION="0.91" |
pascal@14593 | 5 CATEGORY="network" |
Hans-G?nter@22483 | 6 SHORT_DESC="Flexible SOCKS server and 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@22483 | 12 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@22483 | 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 { |
Hans-G?nter@22483 | 21 ./configure \ |
Hans-G?nter@22483 | 22 --prefix=/usr \ |
Hans-G?nter@22483 | 23 --sysconfdir=/etc \ |
Hans-G?nter@22483 | 24 $CONFIGURE_ARGS && |
pascal@14593 | 25 make && |
pascal@14593 | 26 make prefix=$DESTDIR/usr install |
al@19265 | 27 |
al@19275 | 28 cook_pick_manpages $src/man/*.1 $src/man/*.3 $src/man/*.4 |
pascal@14593 | 29 } |
pascal@14593 | 30 |
al@19265 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19265 | 32 genpkg_rules() |
pascal@14593 | 33 { |
Hans-G?nter@22483 | 34 mkdir -p $fs/usr/lib |
Hans-G?nter@22483 | 35 mkdir -p $fs/etc |
Hans-G?nter@22483 | 36 |
Hans-G?nter@22483 | 37 cp $src/etc/antinat.xml $fs/etc |
pascal@14593 | 38 chmod 600 $fs/etc/antinat.xml |
Hans-G?nter@22483 | 39 |
Hans-G?nter@22483 | 40 cp -a $install/usr/lib/* $fs/usr/lib |
Hans-G?nter@22483 | 41 rm $fs/usr/lib/*a |
Hans-G?nter@22483 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22483 | 43 cp -a $install/usr/var $fs |
pascal@14593 | 44 } |