wok view tinc/receipt @ rev 17366
linux: add install_module_headers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 20 22:37:52 2014 +0100 (2014-11-20) |
parents | 36e9807432da |
children | e19b640a110d |
line source
1 # SliTaz package receipt.
3 PACKAGE="tinc"
4 VERSION="1.0.23"
5 CATEGORY="network"
6 SHORT_DESC="Virtual Private Network daemon with pseudo STUN support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.tinc-vpn.org/"
11 WGET_URL="${WEB_SITE}packages/$TARBALL"
12 CONFIG_FILES="/etc/tinc"
13 TAGS="vpn tunnel"
15 BUILD_DEPENDS="openssl-dev zlib-dev lzo-dev"
16 DEPENDS="libcrypto zlib lzo"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --sysconfdir=/etc \
23 --localstatedir=/var \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $stuff/* $fs
36 }