wok-6.x annotate tinc/receipt @ rev 23042

gcc83-lib-base: add /usr/libgcc83/libstdc++.la
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 05 12:13:42 2020 +0100 (2020-03-05)
parents 742eacc7f0b9
children 026f210c4201
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@23042 22 wget -O - $WEB_SITE | sed '/version: /!d;s|.*">\(.*\)</a.*|\1|'
pascal@23042 23 }
pascal@23042 24
pascal@4917 25 # Rules to configure and make the package.
pascal@4917 26 compile_rules()
pascal@4917 27 {
Hans-G?nter@22031 28 ./configure \
Hans-G?nter@22031 29 --prefix=/usr \
Hans-G?nter@22031 30 --sysconfdir=/etc \
Hans-G?nter@22031 31 --localstatedir=/var \
Hans-G?nter@22031 32 --mandir=/usr/share/man \
pascal@18105 33 $CONFIGURE_ARGS &&
pascal@4917 34 make &&
pascal@14467 35 make DESTDIR=$DESTDIR install
pascal@4917 36 }
pascal@4917 37
pascal@4917 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4917 39 genpkg_rules()
pascal@4917 40 {
pascal@4917 41 mkdir -p $fs/usr
Hans-G?nter@22031 42
Hans-G?nter@22031 43 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@22031 44 cp -a $stuff/* $fs
pascal@4917 45 }