wok-current annotate softether/receipt @ rev 22650

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