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

Add libsdl2 (thanks necrophcodr)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 30 14:16:28 2014 +0000 (2014-08-30)
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 }