# HG changeset patch # User Pascal Bellard # Date 1374842211 0 # Node ID 1fab45eae231e7851bbdec3f554265fa535a27da # Parent 4a7cf6cb356e3a06658230c70cae66e9673956a4 Add gvpe diff -r 4a7cf6cb356e -r 1fab45eae231 gvpe/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gvpe/receipt Fri Jul 26 12:36:51 2013 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="gvpe" +VERSION="2.25" +CATEGORY="network" +SHORT_DESC="creates a virtual ethernet network with multiple nodes." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://software.schmorp.de/pkg/gvpe.html" +WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" +TAGS="vpn tunnel network" + +DEPENDS="zlib openssl" +BUILD_DEPENDS="zlib-dev openssl-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./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/usr/sbin $fs/usr +}