wok diff 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 diff
     1.1 --- a/rp-l2tp/receipt	Tue Feb 16 10:30:02 2010 +0100
     1.2 +++ b/rp-l2tp/receipt	Sun Feb 23 15:49:23 2014 +0100
     1.3 @@ -5,6 +5,7 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="L2TP tunnel (vpn)."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://rp-l2tp.sourceforge.net/"
    1.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.11 @@ -18,15 +19,15 @@
    1.12  	--mandir=/usr/share/man \
    1.13  	$CONFIGURE_ARGS &&
    1.14  	make &&
    1.15 -	make DESTDIR=$PWD/_pkg install
    1.16 +	make DESTDIR=$DESTDIR install
    1.17  }
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22  	mkdir -p $fs/usr $fs/usr/lib/l2tp/plugins
    1.23 -	cp -a $_pkg/etc $fs
    1.24 -	cp -a $_pkg/usr/sbin $fs/usr
    1.25 +	cp -a $install/etc $fs
    1.26 +	cp -a $install/usr/sbin $fs/usr
    1.27  	cp -a $src/handlers/l2tp-control $fs/usr/sbin
    1.28  	cp -a $src/handlers/*.so $fs/usr/lib/l2tp/plugins
    1.29  }