wok-next view rp-l2tp/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 3b4e4318134e
children d457c4e37c1b
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://rp-l2tp.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 compile_rules() {
15 ./configure \
16 --prefix=/usr \
17 --infodir=/usr/share/info \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$install install
22 }
24 genpkg_rules() {
25 mkdir -p $fs/usr $fs/usr/lib/l2tp/plugins
26 cp -a $install/etc $fs
27 cp -a $install/usr/sbin $fs/usr
28 cp -a $src/handlers/l2tp-control $fs/usr/sbin
29 cp -a $src/handlers/*.so $fs/usr/lib/l2tp/plugins
30 TAGS="vpn tunnel"
31 }