wok view rp-l2tp/receipt @ rev 11503

librsvg-dev: Fix BUIDL_DEPENDS
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Dec 22 12:57:23 2011 +0100 (2011-12-22)
parents 99315f95e162
children 3b4e4318134e
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 }