wok-current annotate softether/receipt @ rev 17482
typos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 30 10:01:09 2014 +0100 (2014-12-30) |
parents | 9151b3acc104 |
children | 85b490b0ae1a |
rev | line source |
---|---|
pascal@16786 | 1 # SliTaz package receipt. |
pascal@16786 | 2 |
pascal@16786 | 3 PACKAGE="softether" |
pascal@16786 | 4 VERSION="v4.09-9451-beta" |
pascal@16786 | 5 RELEASE="2014.06.09" |
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" |
pascal@16786 | 9 LICENSE="GPL2" |
pascal@16786 | 10 TARBALL="$PACKAGE-src-$VERSION.tar.gz" |
pascal@16786 | 11 WEB_SITE="https://www.softether.org/" |
pascal@16786 | 12 WGET_URL="http://www.softether-download.com/files/softether/$VERSION-$RELEASE-tree/Source%20Code/$TARBALL" |
pascal@16786 | 13 |
pascal@17482 | 14 DEPENDS="libssl libcrypto readline ncurses zlib" |
pascal@16786 | 15 BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev" |
pascal@16786 | 16 |
pascal@16786 | 17 # Rules to configure and make the package. |
pascal@16786 | 18 compile_rules() |
pascal@16786 | 19 { |
pascal@16786 | 20 mkdir -p $DESTDIR/usr/bin |
pascal@16786 | 21 yes 1 | ./configure $CONFIGURE_ARGS && |
pascal@16786 | 22 sed -i "s|^INSTALL_.*DIR=|&$DESTDIR|" Makefile && |
pascal@16786 | 23 make && |
pascal@16786 | 24 make DESTDIR=$DESTDIR install && |
pascal@16786 | 25 sed -i "s|$DESTDIR||" $DESTDIR/usr/bin/* |
pascal@16786 | 26 } |
pascal@16786 | 27 |
pascal@16786 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16786 | 29 genpkg_rules() |
pascal@16786 | 30 { |
pascal@16786 | 31 mkdir -p $fs |
pascal@16786 | 32 cp -a $install/usr $fs |
pascal@16786 | 33 } |