wok-next annotate tsocks/receipt @ rev 17191
Add tsocks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 06 15:05:57 2014 +0200 (2014-10-06) |
parents | |
children | d5aab818505e |
rev | line source |
---|---|
pascal@17191 | 1 # SliTaz package receipt. |
pascal@17191 | 2 |
pascal@17191 | 3 PACKAGE="tsocks" |
pascal@17191 | 4 VERSION="1.8beta5" |
pascal@17191 | 5 CATEGORY="network" |
pascal@17191 | 6 SHORT_DESC="A transparent SOCKS proxying library." |
pascal@17191 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17191 | 8 LICENSE="GPL2" |
pascal@17191 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17191 | 10 WEB_SITE="http://tsocks.sourceforge.net/" |
pascal@17191 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17191 | 12 |
pascal@17191 | 13 DEPENDS="" |
pascal@17191 | 14 BUILD_DEPENDS="" |
pascal@17191 | 15 |
pascal@17191 | 16 # Rules to configure and make the package. |
pascal@17191 | 17 compile_rules() |
pascal@17191 | 18 { |
pascal@17191 | 19 ./configure \ |
pascal@17191 | 20 --prefix=/usr \ |
pascal@17191 | 21 $CONFIGURE_ARGS |
pascal@17191 | 22 make && |
pascal@17191 | 23 make DESTDIR=$DESTDIR install |
pascal@17191 | 24 } |
pascal@17191 | 25 |
pascal@17191 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17191 | 27 genpkg_rules() |
pascal@17191 | 28 { |
pascal@17191 | 29 mkdir -p $fs/usr |
pascal@17191 | 30 cp -a $install/usr/bin $fs/usr |
pascal@17191 | 31 cp -a $install/lib $fs |
pascal@17191 | 32 } |