wok-current annotate antinat/receipt @ rev 24629
updated gsl and gsl-dev (2.6 -> 2.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 08 09:29:44 2022 +0100 (2022-03-08) |
parents | 3e7ff947f644 |
children | 7dd01dedad38 |
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@24340 | 18 # What is the latest version available today? |
pascal@24340 | 19 current_version() |
pascal@24340 | 20 { |
pascal@24340 | 21 wget -O - http://www.malsmith.net/antinat/download/ 2>/dev/null | \ |
pascal@24340 | 22 sed '/source.tar/!d;s|/antinat-source.*||;s|.*/||;q' |
pascal@24340 | 23 } |
pascal@24340 | 24 |
pascal@14593 | 25 # Rules to configure and make the package. |
pascal@14593 | 26 compile_rules() |
pascal@14593 | 27 { |
Hans-G?nter@22483 | 28 ./configure \ |
Hans-G?nter@22483 | 29 --prefix=/usr \ |
Hans-G?nter@22483 | 30 --sysconfdir=/etc \ |
Hans-G?nter@22483 | 31 $CONFIGURE_ARGS && |
pascal@14593 | 32 make && |
pascal@14593 | 33 make prefix=$DESTDIR/usr install |
al@19265 | 34 |
al@19275 | 35 cook_pick_manpages $src/man/*.1 $src/man/*.3 $src/man/*.4 |
pascal@14593 | 36 } |
pascal@14593 | 37 |
al@19265 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19265 | 39 genpkg_rules() |
pascal@14593 | 40 { |
Hans-G?nter@22483 | 41 mkdir -p $fs/usr/lib |
Hans-G?nter@22483 | 42 mkdir -p $fs/etc |
Hans-G?nter@22483 | 43 |
Hans-G?nter@22483 | 44 cp $src/etc/antinat.xml $fs/etc |
pascal@14593 | 45 chmod 600 $fs/etc/antinat.xml |
Hans-G?nter@22483 | 46 |
Hans-G?nter@22483 | 47 cp -a $install/usr/lib/* $fs/usr/lib |
Hans-G?nter@22483 | 48 rm $fs/usr/lib/*a |
Hans-G?nter@22483 | 49 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22483 | 50 cp -a $install/usr/var $fs |
pascal@14593 | 51 } |