wok-6.x annotate gvpe/receipt @ rev 16339
ARM: fix squeak-vm cross compilation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 14:27:19 2014 +0200 (2014-04-12) |
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 } |