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

busybox/udhcpc6: update script (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 23 15:53:27 2017 +0200 (2017-09-23)
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 }