# HG changeset patch # User Pascal Bellard # Date 1266223846 -3600 # Node ID 6abe2440137431cfb4e8d8d1cce4405e6b2494d0 # Parent e6a3e16667f127a2e84522963c2eef6061f38ab1 Add tinc diff -r e6a3e16667f1 -r 6abe24401374 tinc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tinc/receipt Mon Feb 15 09:50:46 2010 +0100 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="tinc" +VERSION="1.0.12" +CATEGORY="network" +SHORT_DESC="Virtual Private Network daemon with pseudo STUN support." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.tinc-vpn.org/" +WGET_URL="${WEB_SITE}packages/$TARBALL" +BUILD_DEPENDS="openssl-dev zlib-dev lzo-dev" +DEPENDS="libcrypto zlib lzo" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/sbin $fs/usr +} +