wok-next annotate softether/receipt @ rev 21721
created recipes for efivar and efibootmgr
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 01 10:09:15 2020 +0100 (2020-09-01) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
pascal@16786 | 1 # SliTaz package receipt. |
pascal@16786 | 2 |
pascal@16786 | 3 PACKAGE="softether" |
Hans-G?nter@21454 | 4 VERSION="4.34-9745"; RELEASE="2020-04-05" |
pascal@16786 | 5 CATEGORY="network" |
al@21020 | 6 SHORT_DESC="An Open-Source Free Cross-platform Multi-protocol VPN Program" |
pascal@16786 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16786 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://www.softether.org/" |
al@21020 | 10 |
Hans-G?nter@21454 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16786 | 12 WGET_URL="http://www.softether-download.com/files/softether/$VERSION-$RELEASE-tree/Source%20Code/$TARBALL" |
Hans-G?nter@21454 | 13 WGET_URL="https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/archive/v$VERSION-beta.tar.gz" |
pascal@16786 | 14 |
Hans-G?nter@21454 | 15 BUILD_DEPENDS="ncurses-dev openssl-dev readline-dev" |
pascal@16786 | 16 |
Hans-G?nter@21454 | 17 compile_rules() |
Hans-G?nter@21454 | 18 { |
al@21020 | 19 mkdir -p $install/usr/bin |
Hans-G?nter@21454 | 20 |
pascal@16786 | 21 yes 1 | ./configure $CONFIGURE_ARGS && |
al@21020 | 22 sed -i "s|^INSTALL_.*DIR=|&$install|" Makefile && |
pascal@16786 | 23 make && |
al@21020 | 24 make DESTDIR=$install install && |
al@21020 | 25 sed -i "s|$install||" $install/usr/bin/* |
pascal@16786 | 26 } |
pascal@16786 | 27 |
Hans-G?nter@21454 | 28 genpkg_rules() |
Hans-G?nter@21454 | 29 { |
pascal@16786 | 30 mkdir -p $fs |
Hans-G?nter@21454 | 31 cp -a $install/usr $fs |
Hans-G?nter@21454 | 32 DEPENDS="ncurses openssl readline zlib" |
pascal@16786 | 33 } |