wok annotate tinc/receipt @ rev 20032
Up hostapd (2.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 23 13:34:58 2017 +0200 (2017-08-23) |
parents | 7710488e9e49 |
children | f5a6002b316b |
rev | line source |
---|---|
pascal@4917 | 1 # SliTaz package receipt. |
pascal@4917 | 2 |
pascal@4917 | 3 PACKAGE="tinc" |
pascal@18105 | 4 VERSION="1.0.25" |
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@14698 | 8 LICENSE="GPL2" |
pascal@4917 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4917 | 10 WEB_SITE="http://www.tinc-vpn.org/" |
pascal@4917 | 11 WGET_URL="${WEB_SITE}packages/$TARBALL" |
pascal@15884 | 12 CONFIG_FILES="/etc/tinc" |
pascal@14698 | 13 TAGS="vpn tunnel" |
pascal@14698 | 14 |
pascal@4917 | 15 BUILD_DEPENDS="openssl-dev zlib-dev lzo-dev" |
pascal@4917 | 16 DEPENDS="libcrypto zlib lzo" |
pascal@4917 | 17 |
pascal@4917 | 18 # Rules to configure and make the package. |
pascal@4917 | 19 compile_rules() |
pascal@4917 | 20 { |
pascal@15878 | 21 ./configure --prefix=/usr --sysconfdir=/etc \ |
pascal@18105 | 22 --localstatedir=/var \ |
pascal@18105 | 23 --mandir=/usr/share/man \ |
pascal@18105 | 24 $CONFIGURE_ARGS && |
pascal@4917 | 25 make && |
pascal@14467 | 26 make DESTDIR=$DESTDIR install |
pascal@4917 | 27 } |
pascal@4917 | 28 |
pascal@4917 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4917 | 30 genpkg_rules() |
pascal@4917 | 31 { |
pascal@4917 | 32 mkdir -p $fs/usr |
pascal@14467 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@15885 | 34 cp -a $stuff/* $fs |
pascal@4917 | 35 } |