wok-current annotate gvpe/receipt @ rev 14895
Add gvpe
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 26 12:36:51 2013 +0000 (2013-07-26) |
parents | |
children | df10904b9e11 |
rev | line source |
---|---|
pascal@14895 | 1 # SliTaz package receipt. |
pascal@14895 | 2 |
pascal@14895 | 3 PACKAGE="gvpe" |
pascal@14895 | 4 VERSION="2.25" |
pascal@14895 | 5 CATEGORY="network" |
pascal@14895 | 6 SHORT_DESC="creates a virtual ethernet network with multiple nodes." |
pascal@14895 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14895 | 8 LICENSE="GPL3" |
pascal@14895 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14895 | 10 WEB_SITE="http://software.schmorp.de/pkg/gvpe.html" |
pascal@14895 | 11 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" |
pascal@14895 | 12 TAGS="vpn tunnel network" |
pascal@14895 | 13 |
pascal@14895 | 14 DEPENDS="zlib openssl" |
pascal@14895 | 15 BUILD_DEPENDS="zlib-dev openssl-dev" |
pascal@14895 | 16 |
pascal@14895 | 17 # Rules to configure and make the package. |
pascal@14895 | 18 compile_rules() |
pascal@14895 | 19 { |
pascal@14895 | 20 cd $src |
pascal@14895 | 21 ./configure \ |
pascal@14895 | 22 --prefix=/usr \ |
pascal@14895 | 23 $CONFIGURE_ARGS && |
pascal@14895 | 24 make && |
pascal@14895 | 25 make DESTDIR=$DESTDIR install |
pascal@14895 | 26 } |
pascal@14895 | 27 |
pascal@14895 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14895 | 29 genpkg_rules() |
pascal@14895 | 30 { |
pascal@14895 | 31 mkdir -p $fs/usr |
pascal@14895 | 32 cp -a $install/usr/bin $fs/usr |
pascal@14895 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@14895 | 34 } |