# HG changeset patch # User Pascal Bellard # Date 1412600757 -7200 # Node ID c92b838a23c520a1b52abebeea7d1bb4fd12da52 # Parent efcdba50dcb92fdfa514632a68fe869055f27f35 Add tsocks diff -r efcdba50dcb9 -r c92b838a23c5 tsocks/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tsocks/receipt Mon Oct 06 15:05:57 2014 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="tsocks" +VERSION="1.8beta5" +CATEGORY="network" +SHORT_DESC="A transparent SOCKS proxying library." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://tsocks.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/lib $fs +}