wok-next view rp-l2tp/receipt @ rev 15855
New kernel config and huge receipt clean up
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 29 09:56:07 2014 +0100 (2014-01-29) |
parents | f6df330ed424 |
children | d5aab818505e |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://rp-l2tp.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="vpn tunnel"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/usr/lib/l2tp/plugins
29 cp -a $install/etc $fs
30 cp -a $install/usr/sbin $fs/usr
31 cp -a $src/handlers/l2tp-control $fs/usr/sbin
32 cp -a $src/handlers/*.so $fs/usr/lib/l2tp/plugins
33 }