# HG changeset patch # User Pascal Bellard # Date 1369649845 -7200 # Node ID b6aaf868a042340b2568c1e7aac7e328e9c723bf # Parent 128f191be29d8a541edf289d76e85e0dad7c3be7 Add antinat diff -r 128f191be29d -r b6aaf868a042 antinat-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/antinat-dev/receipt Mon May 27 12:17:25 2013 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="antinat-dev" +VERSION="0.90" +CATEGORY="development" +SHORT_DESC="Flexible SOCKS server & client library for proxy-based applications, development files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://antinat.sourceforge.net/" +WANTED="antinat" + +DEPENDS="antinat expat-dev" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*a $fs/usr/lib +} diff -r 128f191be29d -r b6aaf868a042 antinat/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/antinat/receipt Mon May 27 12:17:25 2013 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="antinat" +VERSION="0.90" +CATEGORY="network" +SHORT_DESC="Flexible SOCKS server & client library for proxy-based applications." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://antinat.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="expat" +BUILD_DEPENDS="expat-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS && + make && + make prefix=$DESTDIR/usr install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/etc + cp $src/etc/antinat.xml $fs/etc + chmod 600 $fs/etc/antinat.xml + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/var $fs +}