wok-next view rp-l2tp/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | d5aab818505e |
children |
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="https://sourceforge.net/projects/rp-l2tp/"
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 }