wok view tinc/receipt @ rev 4917

Add tinc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 15 09:50:46 2010 +0100 (2010-02-15)
parents
children 12f8af5fe3c8
line source
1 # SliTaz package receipt.
3 PACKAGE="tinc"
4 VERSION="1.0.12"
5 CATEGORY="network"
6 SHORT_DESC="Virtual Private Network daemon with pseudo STUN support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.tinc-vpn.org/"
10 WGET_URL="${WEB_SITE}packages/$TARBALL"
11 BUILD_DEPENDS="openssl-dev zlib-dev lzo-dev"
12 DEPENDS="libcrypto zlib lzo"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 }