wok-6.x view rp-l2tp/receipt @ rev 20907

perl-term-readkey: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 27 11:01:41 2019 +0100 (2019-02-27)
parents 3b4e4318134e
children e919c5a2742d
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"
13 CONFIG_FILES="/etc/l2tp"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
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 }