wok-next view tinc/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 7710488e9e49 |
children | e6615350078d |
line source
1 # SliTaz package receipt.
3 PACKAGE="tinc"
4 VERSION="1.0.25"
5 CATEGORY="network"
6 SHORT_DESC="Virtual Private Network daemon with pseudo STUN support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.tinc-vpn.org/"
11 WGET_URL="${WEB_SITE}packages/$TARBALL"
12 CONFIG_FILES="/etc/tinc"
13 TAGS="vpn tunnel"
15 BUILD_DEPENDS="openssl-dev zlib-dev lzo-dev"
16 DEPENDS="libcrypto zlib lzo"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr --sysconfdir=/etc \
22 --localstatedir=/var \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 cp -a $stuff/* $fs
35 }