wok view tinc/receipt @ rev 9121

cndrvcups-common: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 16:49:29 2011 +0100 (2011-03-05)
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 }