wok-current annotate 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 |
rev | line source |
---|---|
pascal@4531 | 1 # SliTaz package receipt. |
pascal@4531 | 2 |
pascal@4531 | 3 PACKAGE="xl2tpd" |
pascal@4531 | 4 VERSION="1.2.4" |
pascal@4531 | 5 CATEGORY="network" |
pascal@4531 | 6 SHORT_DESC="Layer 2 Tunneling Protocol (L2TP) daemon." |
pascal@4531 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14698 | 8 LICENSE="GPL2" |
pascal@4531 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4531 | 10 WEB_SITE="http://www.xelerance.com/software/xl2tpd" |
pascal@4531 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@4956 | 12 TAGS="vpn tunnel" |
pascal@20412 | 13 CONFIG_FILES="/etc/lx2tpd" |
pascal@4531 | 14 |
pankso@9825 | 15 DEPENDS="libpcap" |
pankso@9825 | 16 BUILD_DEPENDS="libpcap-dev" |
pankso@9825 | 17 |
pascal@4531 | 18 # Rules to configure and make the package. |
pascal@4531 | 19 compile_rules() |
pascal@4531 | 20 { |
pascal@4531 | 21 sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile |
pankso@9825 | 22 make PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@4531 | 23 } |
pascal@4531 | 24 |
pascal@4531 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4531 | 26 genpkg_rules() |
pascal@4531 | 27 { |
pascal@20412 | 28 mkdir -p $fs/usr $fs/etc/lx2tpd $fs/var/run/xl2tpd |
pascal@20412 | 29 cp -a doc $install/usr/share/ |
pascal@20412 | 30 rm $install/usr/share/doc/*.? |
pascal@20412 | 31 cp -a ?[A-Z]* exemples $install/usr/share/doc |
pascal@14698 | 32 cp -a $install/usr/bin $fs/usr |
pascal@14698 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@4531 | 34 } |