wok-6.x view softether/receipt @ rev 16906
pangox-compat: tiny edits; add pangox-compat-dev; gtkglext(-dev): update (b)deps.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 16 01:54:55 2014 +0300 (2014-07-16) |
parents | |
children | 9689f1b75619 |
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 libcryto 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 }