wok-current view softether/receipt @ rev 23215
updated nbd (3.19 -> 3.20)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 21 15:46:42 2020 +0100 (2020-03-21) |
parents | 9689f1b75619 |
children | 934055de50e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="softether"
4 VERSION="4.29-9680-rtm"
5 RELEASE="2019.02.28"
6 CATEGORY="network"
7 SHORT_DESC="An Open-Source Free Cross-platform Multi-protocol VPN Program."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="Apache 2.0"
10 WEB_SITE="https://www.softether.org/"
12 TARBALL="$PACKAGE-src-v$VERSION.tar.gz"
13 WGET_URL="http://www.softether-download.com/files/softether/v$VERSION-$RELEASE-tree/Source_Code/$TARBALL"
15 DEPENDS="libcrypto libssl ncurses readline zlib"
16 BUILD_DEPENDS="ncurses-dev openssl-dev readline-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p $DESTDIR/usr/bin
22 sed -i 's|uname -m|echo i486|' configure
23 yes 1 | ./configure $CONFIGURE_ARGS &&
24 sed -i "s|^INSTALL_.*DIR=|&$DESTDIR|" Makefile &&
25 make &&
26 make DESTDIR=$DESTDIR install &&
27 sed -i "s|$DESTDIR||" $DESTDIR/usr/bin/*
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs
34 cp -a $install/usr $fs
35 }