wok view tinc/receipt @ rev 23043
gcc83-lib-base: add /usr/libgcc83/libstdc++.la (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 12:21:44 2020 +0100 (2020-03-05) |
parents | 742eacc7f0b9 |
children | 026f210c4201 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tinc"
4 VERSION="1.0.36"
5 CATEGORY="network"
6 TAGS="vpn tunnel"
7 SHORT_DESC="Virtual Private Network daemon with pseudo STUN support."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.tinc-vpn.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}packages/$TARBALL"
15 BUILD_DEPENDS="openssl-dev zlib-dev lzo-dev"
16 DEPENDS="libcrypto zlib lzo"
18 CONFIG_FILES="/etc/tinc"
20 current_version()
21 {
22 wget -O - $WEB_SITE | sed '/version: /!d;s|.*">\(.*\)</a.*|\1|'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $stuff/* $fs
45 }