wok-next diff poptop/receipt @ rev 17046
Add tcpd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 20 12:09:19 2014 +0200 (2014-08-20) |
parents | aa4c910539a1 |
children | 5b7188f5cd91 |
line diff
1.1 --- a/poptop/receipt Wed Jul 29 17:01:01 2009 +0200 1.2 +++ b/poptop/receipt Wed Aug 20 12:09:19 2014 +0200 1.3 @@ -5,28 +5,32 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol server." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +LICENSE="GPL2" 1.8 SOURCE="pptpd" 1.9 TARBALL="$SOURCE-$VERSION.tar.gz" 1.10 WEB_SITE="http://www.poptop.org/" 1.11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.12 TAGS="vpn tunnel" 1.13 +CONFIG_FILES="/etc/pptp.conf /etc/ppp" 1.14 + 1.15 +DEPENDS="ppp" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 cd $src 1.21 - sed -i "s|^LIBDIR.*|LIBDIR=$PWD/_pkg/usr/lib/pptpd|" plugins/Makefile 1.22 + sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile 1.23 ./configure --prefix=/usr \ 1.24 --mandir=/usr/share/man \ 1.25 $CONFIGURE_ARGS && 1.26 make && 1.27 - make DESTDIR=$PWD/_pkg install 1.28 + make DESTDIR=$DESTDIR install 1.29 } 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg. 1.32 genpkg_rules() 1.33 { 1.34 mkdir -p $fs/usr 1.35 - cp -a $_pkg/usr/sbin $fs/usr 1.36 + cp -a $install/usr/sbin $fs/usr 1.37 } 1.38