wok view softether/receipt @ rev 25003

updated nspr and nspr-dev (4.25 -> 4.33)
author Hans-G?nter Theisgen
date Mon May 16 14:53:05 2022 +0100 (2022-05-16)
parents 85b490b0ae1a
children 0262035dc1e7
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/SoftEtherVPN/SoftEtherVPN/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p $DESTDIR/usr/bin
29 sed -i 's|uname -m|echo i486|' configure
30 yes 1 | ./configure $CONFIGURE_ARGS &&
31 sed -i "s|^INSTALL_.*DIR=|&$DESTDIR|" Makefile &&
32 make &&
33 make DESTDIR=$DESTDIR install &&
34 sed -i "s|$DESTDIR||" $DESTDIR/usr/bin/*
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs
41 cp -a $install/usr $fs
42 }