wok view tinc/receipt @ rev 23138
updated littleutils (1.0.41 -> 1.0.43)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 15 06:30:38 2020 +0100 (2020-03-15) |
parents | 40ecc4034aa7 |
children | d44f69067aca |
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 2>/dev/null | \
23 sed '/version: /!d;s|.*">\(.*\)</a.*|\1|'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --localstatedir=/var \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
44 cp -a $install/usr/sbin $fs/usr
45 cp -a $stuff/* $fs
46 }