wok annotate n2n/receipt @ rev 18749
Up tazpkg(897)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 26 16:06:53 2015 +0200 (2015-12-26) |
parents | 19d21d244aca |
children | e7c6d93c6e42 |
rev | line source |
---|---|
pascal@14154 | 1 # SliTaz package receipt. |
pascal@14154 | 2 |
pascal@14154 | 3 PACKAGE="n2n" |
pascal@14154 | 4 VERSION="1.3.2" |
pascal@14154 | 5 CATEGORY="network" |
pascal@14154 | 6 SHORT_DESC="A Layer Two Peer-to-Peer VPN." |
pascal@14154 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14698 | 8 LICENSE="GPL3" |
pascal@14154 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14154 | 10 WEB_SITE="http://www.ntop.org/products/n2n" |
pascal@14154 | 11 WGET_URL="$SF_MIRROR/ntop/$TARBALL" |
pascal@14154 | 12 |
pascal@14154 | 13 DEPENDS="" |
pascal@14154 | 14 BUILD_DEPENDS="" |
pascal@14154 | 15 |
pascal@14154 | 16 # Rules to configure and make the package. |
pascal@14154 | 17 compile_rules() |
pascal@14154 | 18 { |
pascal@14154 | 19 cd $src |
pascal@14154 | 20 make PREFIX=/usr && |
pascal@14154 | 21 make DESTDIR=$DESTDIR install |
pascal@14154 | 22 } |
pascal@14154 | 23 |
pascal@14154 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14154 | 25 genpkg_rules() |
pascal@14154 | 26 { |
pascal@14154 | 27 mkdir -p $fs/usr |
pascal@14154 | 28 cp -a $install/usr/bin $fs/usr |
pascal@14154 | 29 cp -a $install/usr/sbin $fs/usr |
pascal@14154 | 30 } |