wok view rp-l2tp/receipt @ rev 15953
arm: fix file cross compilation and add testsuite
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 23 15:49:23 2014 +0100 (2014-02-23) |
parents | f6df330ed424 |
children | e09f8538625f |
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 }