wok-current diff xl2tpd/receipt @ rev 20412

*l2tp*: add doc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 02 11:32:59 2018 +0200 (2018-08-02)
parents b768ede0c5cb
children 51a07cab339e
line diff
     1.1 --- a/xl2tpd/receipt	Fri Jun 07 16:21:22 2013 +0200
     1.2 +++ b/xl2tpd/receipt	Thu Aug 02 11:32:59 2018 +0200
     1.3 @@ -10,6 +10,7 @@
     1.4  WEB_SITE="http://www.xelerance.com/software/xl2tpd"
     1.5  WGET_URL="$WEB_SITE/$TARBALL"
     1.6  TAGS="vpn tunnel"
     1.7 +CONFIG_FILES="/etc/lx2tpd"
     1.8  
     1.9  DEPENDS="libpcap"
    1.10  BUILD_DEPENDS="libpcap-dev"
    1.11 @@ -17,7 +18,6 @@
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	cd $src
    1.16  	sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile
    1.17  	make PREFIX=/usr DESTDIR=$DESTDIR install
    1.18  }
    1.19 @@ -25,8 +25,10 @@
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	mkdir -p $fs/usr
    1.24 +	mkdir -p $fs/usr $fs/etc/lx2tpd $fs/var/run/xl2tpd
    1.25 +	cp -a doc $install/usr/share/
    1.26 +	rm $install/usr/share/doc/*.?
    1.27 +	cp -a ?[A-Z]* exemples $install/usr/share/doc
    1.28  	cp -a $install/usr/bin $fs/usr
    1.29  	cp -a $install/usr/sbin $fs/usr
    1.30  }
    1.31 -