wok rev 16786

Add softether
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 27 13:13:18 2014 +0200 (2014-06-27)
parents 265516f002cf
children 9d845308f226
files softether/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/softether/receipt	Fri Jun 27 13:13:18 2014 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="softether"
     1.7 +VERSION="v4.09-9451-beta"
     1.8 +RELEASE="2014.06.09"
     1.9 +CATEGORY="network"
    1.10 +SHORT_DESC="An Open-Source Free Cross-platform Multi-protocol VPN Program."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13 +TARBALL="$PACKAGE-src-$VERSION.tar.gz"
    1.14 +WEB_SITE="https://www.softether.org/"
    1.15 +WGET_URL="http://www.softether-download.com/files/softether/$VERSION-$RELEASE-tree/Source%20Code/$TARBALL"
    1.16 +
    1.17 +DEPENDS="libssl libcryto readline ncurses zlib"
    1.18 +BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	mkdir -p $DESTDIR/usr/bin
    1.24 +	yes 1 | ./configure $CONFIGURE_ARGS &&
    1.25 +	sed -i "s|^INSTALL_.*DIR=|&$DESTDIR|" Makefile &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install &&
    1.28 +	sed -i "s|$DESTDIR||" $DESTDIR/usr/bin/*
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs
    1.35 +	cp -a $install/usr $fs
    1.36 +}