wok-6.x view softether/receipt @ rev 18343

Up: bash (4.3.42)
author Alexander Medvedev <devl547@gmail.com>
date Fri Sep 11 11:59:50 2015 +0000 (2015-09-11)
parents 9151b3acc104
children 85b490b0ae1a
line source
1 # SliTaz package receipt.
3 PACKAGE="softether"
4 VERSION="v4.09-9451-beta"
5 RELEASE="2014.06.09"
6 CATEGORY="network"
7 SHORT_DESC="An Open-Source Free Cross-platform Multi-protocol VPN Program."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-src-$VERSION.tar.gz"
11 WEB_SITE="https://www.softether.org/"
12 WGET_URL="http://www.softether-download.com/files/softether/$VERSION-$RELEASE-tree/Source%20Code/$TARBALL"
14 DEPENDS="libssl libcrypto readline ncurses zlib"
15 BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $DESTDIR/usr/bin
21 yes 1 | ./configure $CONFIGURE_ARGS &&
22 sed -i "s|^INSTALL_.*DIR=|&$DESTDIR|" Makefile &&
23 make &&
24 make DESTDIR=$DESTDIR install &&
25 sed -i "s|$DESTDIR||" $DESTDIR/usr/bin/*
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs
32 cp -a $install/usr $fs
33 }