wok-6.x rev 23441

updated poptop (1.3.4 -> 1.4.0)
author Hans-G?nter Theisgen
date Thu Apr 02 13:53:28 2020 +0100 (2020-04-02)
parents a1821e12e28a
children 309a56b97699
files poptop/receipt
line diff
     1.1 --- a/poptop/receipt	Thu Apr 02 12:22:43 2020 +0200
     1.2 +++ b/poptop/receipt	Thu Apr 02 13:53:28 2020 +0100
     1.3 @@ -1,20 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="poptop"
     1.7 -VERSION="1.3.4"
     1.8 +VERSION="1.4.0"
     1.9  CATEGORY="network"
    1.10 +TAGS="vpn tunnel"
    1.11  SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol server."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://poptop.sourceforge.net/"
    1.15 +
    1.16  SOURCE="pptpd"
    1.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://poptop.sourceforge.net/"
    1.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20 -TAGS="vpn tunnel"
    1.21 -#WANTED="ppp"		# need VERSION
    1.22 -CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd"
    1.23  
    1.24  DEPENDS="ppp bcrelay"
    1.25 +BUILD_DEPENDS="ppp-dev"
    1.26 +#WANTED="ppp"		# need VERSION
    1.27 +
    1.28 +CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32 @@ -23,8 +26,10 @@
    1.33  	sed -i "s/#define VERSION.*/#define VERSION \"${PPPVER:-2.4.3}\"/" \
    1.34  		plugins/patchlevel.h
    1.35  	sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile
    1.36 -	./configure --prefix=/usr \
    1.37 -		--mandir=/usr/share/man \
    1.38 +
    1.39 +	./configure			\
    1.40 +		--prefix=/usr		\
    1.41 +		--mandir=/usr/share/man	\
    1.42  		$CONFIGURE_ARGS &&
    1.43  	make &&
    1.44  	make DESTDIR=$DESTDIR install
    1.45 @@ -33,13 +38,21 @@
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49 -	mkdir -p $fs/usr $fs/etc/ppp $fs/etc/init.d $install/usr/share/doc
    1.50 -	cp $src/README* $src/NEWS $src/samples/* $src/tools/* $src/html/* \
    1.51 -		$src/AUTHORS $install/usr/share/doc
    1.52 -	cp -a $install/usr/lib $fs/usr
    1.53 -	cp -a $install/usr/sbin $fs/usr
    1.54 -	rm -f $fs/usr/sbin/bcrelay
    1.55 -	cp $src/samples/pptpd.conf $fs/etc
    1.56 -	cp $src/samples/options.pptpd $fs/etc/ppp
    1.57 -	ln -s daemon $fs/etc/init.d/pptpd
    1.58 +	mkdir -p $fs/usr
    1.59 +	mkdir -p $fs/etc/ppp
    1.60 +	mkdir -p $fs/etc/init.d
    1.61 +	mkdir -p $install/usr/share/doc
    1.62 +
    1.63 +	cp $src/README* 		$install/usr/share/doc
    1.64 +	cp $src/AUTHORS			$install/usr/share/doc
    1.65 +	cp $src/NEWS			$install/usr/share/doc
    1.66 +	cp $src/samples/*		$install/usr/share/doc
    1.67 +	cp $src/tools/*			$install/usr/share/doc
    1.68 +	cp $src/html/*			$install/usr/share/doc
    1.69 +	cp -a $install/usr/lib		$fs/usr
    1.70 +	cp -a $install/usr/sbin		$fs/usr
    1.71 +	rm -f				$fs/usr/sbin/bcrelay
    1.72 +	cp $src/samples/pptpd.conf	$fs/etc
    1.73 +	cp $src/samples/options.pptpd	$fs/etc/ppp
    1.74 +	ln -s daemon			$fs/etc/init.d/pptpd
    1.75  }