wok annotate tinc/receipt @ rev 11576
nvclock: autoreconf before build
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:19 2012 +0100 (2012-01-02) |
parents | 12f8af5fe3c8 |
children | 5719617d23dd |
rev | line source |
---|---|
pascal@4917 | 1 # SliTaz package receipt. |
pascal@4917 | 2 |
pascal@4917 | 3 PACKAGE="tinc" |
pascal@11355 | 4 VERSION="1.0.16" |
pascal@4917 | 5 CATEGORY="network" |
pascal@4917 | 6 SHORT_DESC="Virtual Private Network daemon with pseudo STUN support." |
pascal@4917 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4917 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4917 | 9 WEB_SITE="http://www.tinc-vpn.org/" |
pascal@4917 | 10 WGET_URL="${WEB_SITE}packages/$TARBALL" |
pascal@4917 | 11 BUILD_DEPENDS="openssl-dev zlib-dev lzo-dev" |
pascal@4917 | 12 DEPENDS="libcrypto zlib lzo" |
pascal@4920 | 13 TAGS="vpn tunnel" |
pascal@4917 | 14 |
pascal@4917 | 15 # Rules to configure and make the package. |
pascal@4917 | 16 compile_rules() |
pascal@4917 | 17 { |
pascal@4917 | 18 cd $src |
pascal@4917 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4917 | 20 --mandir=/usr/share/man \ |
pascal@4917 | 21 $CONFIGURE_ARGS && |
pascal@4917 | 22 make && |
pascal@4917 | 23 make DESTDIR=$PWD/_pkg install |
pascal@4917 | 24 } |
pascal@4917 | 25 |
pascal@4917 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4917 | 27 genpkg_rules() |
pascal@4917 | 28 { |
pascal@4917 | 29 mkdir -p $fs/usr |
pascal@4917 | 30 cp -a $_pkg/usr/sbin $fs/usr |
pascal@4917 | 31 } |
pascal@4917 | 32 |