wok annotate cloudvpn/receipt @ rev 18700
jpilot: build workaround (cooker/tazpkg needs investigations)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 16 10:12:38 2015 +0100 (2015-12-16) |
parents | eb8067417980 |
children | 3132d67b7e38 |
rev | line source |
---|---|
pascal@4918 | 1 # SliTaz package receipt. |
pascal@4918 | 2 |
pascal@4918 | 3 PACKAGE="cloudvpn" |
pascal@4918 | 4 VERSION="1.99.8" |
pascal@4918 | 5 CATEGORY="network" |
pascal@4918 | 6 SHORT_DESC="Mesh-networked Virtual Private Network." |
pascal@4918 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL3" |
pascal@4918 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@11084 | 10 WEB_SITE="http://dev.e-x-a.org/projects/cloudvpn/wiki" |
slaxemulator@11084 | 11 WGET_URL="http://dev.e-x-a.org/attachments/download/1/$TARBALL" |
pascal@15579 | 12 TAGS="vpn tunnel" |
pascal@15579 | 13 |
pascal@15582 | 14 BUILD_DEPENDS="gnutls-dev zlib-dev automake" |
pascal@5026 | 15 DEPENDS="gcc-lib-base gnutls zlib libtasn1" |
pascal@4918 | 16 |
pascal@4918 | 17 # Rules to configure and make the package. |
pascal@4918 | 18 compile_rules() |
pascal@4918 | 19 { |
pascal@4918 | 20 cd $src |
pascal@4918 | 21 ./autogen.sh |
slaxemulator@11084 | 22 ./configure \ |
slaxemulator@11084 | 23 $CONFIGURE_ARGS && |
pascal@4918 | 24 make && |
slaxemulator@11084 | 25 make DESTDIR=$DESTDIR install |
pascal@4918 | 26 } |
pascal@4918 | 27 |
pascal@4918 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4918 | 29 genpkg_rules() |
pascal@4918 | 30 { |
pascal@4918 | 31 mkdir -p $fs/usr |
pascal@15579 | 32 cp -a $install/usr/bin $fs/usr |
pascal@4918 | 33 } |
pascal@4918 | 34 |