wok view tinc/receipt @ rev 10417

texinfo: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 24 08:02:26 2011 +0000 (2011-05-24)
parents 6abe24401374
children e5421dd582ff
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"
13 TAGS="vpn tunnel"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
31 }