wok-current annotate n2n/receipt @ rev 14154
Add n2n
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 04 21:27:20 2013 +0100 (2013-03-04) |
parents | |
children | b768ede0c5cb |
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@14154 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14154 | 9 WEB_SITE="http://www.ntop.org/products/n2n" |
pascal@14154 | 10 WGET_URL="$SF_MIRROR/ntop/$TARBALL" |
pascal@14154 | 11 |
pascal@14154 | 12 DEPENDS="" |
pascal@14154 | 13 BUILD_DEPENDS="" |
pascal@14154 | 14 |
pascal@14154 | 15 # Rules to configure and make the package. |
pascal@14154 | 16 compile_rules() |
pascal@14154 | 17 { |
pascal@14154 | 18 cd $src |
pascal@14154 | 19 make PREFIX=/usr && |
pascal@14154 | 20 make DESTDIR=$DESTDIR install |
pascal@14154 | 21 } |
pascal@14154 | 22 |
pascal@14154 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14154 | 24 genpkg_rules() |
pascal@14154 | 25 { |
pascal@14154 | 26 mkdir -p $fs/usr |
pascal@14154 | 27 cp -a $install/usr/bin $fs/usr |
pascal@14154 | 28 cp -a $install/usr/sbin $fs/usr |
pascal@14154 | 29 } |