# SliTaz package receipt. PACKAGE="n2n" VERSION="3.0" CATEGORY="network" SHORT_DESC="A Layer Two Peer-to-Peer VPN." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" WEB_SITE="https://www.ntop.org/products/n2n/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/ntop/$PACKAGE/archive/$VERSION.tar.gz" DEPENDS="" BUILD_DEPENDS="automake libcap-dev openssl-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./autogen.sh && ./configure --prefix=/usr && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders sbin }