wok-6.x diff xl2tpd/receipt @ rev 23760

librsvg: try fix libtool
author Hans-G?nter Theisgen
date Mon May 04 07:56:50 2020 +0100 (2020-05-04)
parents 8dd8bab3f0ca
children 5ea0ce1cecc0
line diff
     1.1 --- a/xl2tpd/receipt	Thu Jan 24 14:51:04 2019 +0100
     1.2 +++ b/xl2tpd/receipt	Mon May 04 07:56:50 2020 +0100
     1.3 @@ -1,34 +1,40 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xl2tpd"
     1.7 -VERSION="1.2.4"
     1.8 +VERSION="1.3.15"
     1.9  CATEGORY="network"
    1.10 +TAGS="vpn tunnel"
    1.11  SHORT_DESC="Layer 2 Tunneling Protocol (L2TP) daemon."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://www.xelerance.com/software/xl2tpd"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://www.xelerance.com/software/xl2tpd"
    1.18 -WGET_URL="$WEB_SITE/$TARBALL"
    1.19 -TAGS="vpn tunnel"
    1.20 -CONFIG_FILES="/etc/xl2tpd"
    1.21 +WGET_URL="https://github.com/xelerance/$PACKAGE/archive/v$VERSION.tar.gz"
    1.22  
    1.23  DEPENDS="libpcap"
    1.24  BUILD_DEPENDS="libpcap-dev"
    1.25  
    1.26 +CONFIG_FILES="/etc/xl2tpd"
    1.27 +
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile
    1.32 +	sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' \
    1.33 +		Makefile
    1.34  	make PREFIX=/usr DESTDIR=$DESTDIR install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	mkdir -p $fs/usr $fs/etc/xl2tpd $fs/var/run/xl2tpd
    1.41 -	cp -a $src/doc $install/usr/share/
    1.42 +	mkdir -p $fs/usr
    1.43 +	mkdir -p $fs/etc/xl2tpd
    1.44 +	mkdir -p $fs/var/run/xl2tpd
    1.45 +
    1.46 +	cp -a $src/doc				$install/usr/share/
    1.47  	rm $install/usr/share/doc/*.?
    1.48 -	cp -a $src/?[A-Z]* $src/examples $install/usr/share/doc
    1.49 -	cp -a $install/usr/bin $fs/usr
    1.50 -	cp -a $install/usr/sbin $fs/usr
    1.51 +	cp -a $src/?[A-Z]* $src/examples	$install/usr/share/doc
    1.52 +	cp -a $install/usr/bin			$fs/usr
    1.53 +	cp -a $install/usr/sbin			$fs/usr
    1.54  }