wok-4.x view rp-l2tp/receipt @ rev 5598

Up compcache (partial support in kerenl 2.6.33 ; fully in kernel starting 2.6.34)
author Rohit Joshi <jozee@slitaz.org>
date Tue May 18 08:00:24 2010 -0400 (2010-05-18)
parents 99315f95e162
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rp-l2tp"
4 VERSION="0.4"
5 CATEGORY="network"
6 SHORT_DESC="L2TP tunnel (vpn)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://rp-l2tp.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="vpn tunnel"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $fs/usr/lib/l2tp/plugins
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $src/handlers/l2tp-control $fs/usr/sbin
31 cp -a $src/handlers/*.so $fs/usr/lib/l2tp/plugins
32 }