SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "softether"

# SliTaz package receipt.

PACKAGE="softether"
VERSION="4.29-9680-rtm"
RELEASE="2019.02.28"
CATEGORY="network"
SHORT_DESC="An Open-Source Free Cross-platform Multi-protocol VPN Program."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="Apache 2.0"
WEB_SITE="https://www.softether.org/"

TARBALL="$PACKAGE-src-v$VERSION.tar.gz"
WGET_URL="http://www.softether-download.com/files/softether/v$VERSION-$RELEASE-tree/Source_Code/$TARBALL"

DEPENDS="libcrypto libssl ncurses readline zlib"
BUILD_DEPENDS="ncurses-dev openssl-dev readline-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/SoftEtherVPN/SoftEtherVPN/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    mkdir -p $DESTDIR/usr/bin
    sed -i 's|uname -m|echo i486|' configure
    yes 1 | ./configure $CONFIGURE_ARGS &&
    sed -i "s|^INSTALL_.*DIR=|&$DESTDIR|" Makefile &&
    make &&
    make DESTDIR=$DESTDIR install &&
    sed -i "s|$DESTDIR||" $DESTDIR/usr/bin/*
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs
    cp -a $install/usr $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)