wok view softether/receipt @ rev 19635
Up SliTaz projects: cookutils(867), slitaz-base-files(321), slitaz-boot-scripts(437), slitaz-tools(1009), tazbug(95), tazirc(20), tazlito(448), tazpkg(933).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jan 17 17:38:43 2017 +0200 (2017-01-17) |
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 }