wok annotate tinc/receipt @ rev 23417
updated perl-xml-simple (2.18 -> 2.25)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 07:44:12 2020 +0100 (2020-04-01) |
parents | 40ecc4034aa7 |
children | d44f69067aca |
rev | line source |
---|---|
pascal@4917 | 1 # SliTaz package receipt. |
pascal@4917 | 2 |
pascal@4917 | 3 PACKAGE="tinc" |
Hans-G?nter@22031 | 4 VERSION="1.0.36" |
pascal@4917 | 5 CATEGORY="network" |
Hans-G?nter@22031 | 6 TAGS="vpn tunnel" |
pascal@4917 | 7 SHORT_DESC="Virtual Private Network daemon with pseudo STUN support." |
pascal@4917 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14698 | 9 LICENSE="GPL2" |
Hans-G?nter@22031 | 10 WEB_SITE="https://www.tinc-vpn.org/" |
Hans-G?nter@22031 | 11 |
pascal@4917 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4917 | 13 WGET_URL="${WEB_SITE}packages/$TARBALL" |
pascal@14698 | 14 |
pascal@4917 | 15 BUILD_DEPENDS="openssl-dev zlib-dev lzo-dev" |
pascal@4917 | 16 DEPENDS="libcrypto zlib lzo" |
pascal@4917 | 17 |
Hans-G?nter@22031 | 18 CONFIG_FILES="/etc/tinc" |
Hans-G?nter@22031 | 19 |
pascal@23042 | 20 current_version() |
pascal@23042 | 21 { |
pascal@23051 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@23051 | 23 sed '/version: /!d;s|.*">\(.*\)</a.*|\1|' |
pascal@23042 | 24 } |
pascal@23042 | 25 |
pascal@4917 | 26 # Rules to configure and make the package. |
pascal@4917 | 27 compile_rules() |
pascal@4917 | 28 { |
Hans-G?nter@22031 | 29 ./configure \ |
Hans-G?nter@22031 | 30 --prefix=/usr \ |
Hans-G?nter@22031 | 31 --sysconfdir=/etc \ |
Hans-G?nter@22031 | 32 --localstatedir=/var \ |
Hans-G?nter@22031 | 33 --mandir=/usr/share/man \ |
pascal@18105 | 34 $CONFIGURE_ARGS && |
pascal@4917 | 35 make && |
pascal@14467 | 36 make DESTDIR=$DESTDIR install |
pascal@4917 | 37 } |
pascal@4917 | 38 |
pascal@4917 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4917 | 40 genpkg_rules() |
pascal@4917 | 41 { |
pascal@4917 | 42 mkdir -p $fs/usr |
Hans-G?nter@22031 | 43 |
Hans-G?nter@22031 | 44 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22031 | 45 cp -a $stuff/* $fs |
pascal@4917 | 46 } |