wok-6.x annotate tinc/receipt @ rev 22031
updated tinc (1.0.35 -> 1.0.36)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Oct 20 17:49:57 2019 +0100 (2019-10-20) |
parents | f5a6002b316b |
children | 40ecc4034aa7 |
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@4917 | 20 # Rules to configure and make the package. |
pascal@4917 | 21 compile_rules() |
pascal@4917 | 22 { |
Hans-G?nter@22031 | 23 ./configure \ |
Hans-G?nter@22031 | 24 --prefix=/usr \ |
Hans-G?nter@22031 | 25 --sysconfdir=/etc \ |
Hans-G?nter@22031 | 26 --localstatedir=/var \ |
Hans-G?nter@22031 | 27 --mandir=/usr/share/man \ |
pascal@18105 | 28 $CONFIGURE_ARGS && |
pascal@4917 | 29 make && |
pascal@14467 | 30 make DESTDIR=$DESTDIR install |
pascal@4917 | 31 } |
pascal@4917 | 32 |
pascal@4917 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4917 | 34 genpkg_rules() |
pascal@4917 | 35 { |
pascal@4917 | 36 mkdir -p $fs/usr |
Hans-G?nter@22031 | 37 |
Hans-G?nter@22031 | 38 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22031 | 39 cp -a $stuff/* $fs |
pascal@4917 | 40 } |