wok-current annotate xl2tpd/receipt @ rev 22163
updated xl2tpd (1.2.4 -> 1.3.15)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 07 17:56:39 2019 +0100 (2019-11-07) |
parents | 8dd8bab3f0ca |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@4531 | 1 # SliTaz package receipt. |
pascal@4531 | 2 |
pascal@4531 | 3 PACKAGE="xl2tpd" |
Hans-G?nter@22163 | 4 VERSION="1.3.15" |
pascal@4531 | 5 CATEGORY="network" |
Hans-G?nter@22163 | 6 TAGS="vpn tunnel" |
pascal@4531 | 7 SHORT_DESC="Layer 2 Tunneling Protocol (L2TP) daemon." |
pascal@4531 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14698 | 9 LICENSE="GPL2" |
Hans-G?nter@22163 | 10 WEB_SITE="https://www.xelerance.com/software/xl2tpd" |
Hans-G?nter@22163 | 11 |
pascal@4531 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22163 | 13 WGET_URL="https://github.com/xelerance/$PACKAGE/archive/v$VERSION.tar.gz" |
pascal@4531 | 14 |
pankso@9825 | 15 DEPENDS="libpcap" |
pankso@9825 | 16 BUILD_DEPENDS="libpcap-dev" |
pankso@9825 | 17 |
Hans-G?nter@22163 | 18 CONFIG_FILES="/etc/xl2tpd" |
Hans-G?nter@22163 | 19 |
pascal@4531 | 20 # Rules to configure and make the package. |
pascal@4531 | 21 compile_rules() |
pascal@4531 | 22 { |
Hans-G?nter@22163 | 23 sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' \ |
Hans-G?nter@22163 | 24 Makefile |
pankso@9825 | 25 make PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@4531 | 26 } |
pascal@4531 | 27 |
pascal@4531 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4531 | 29 genpkg_rules() |
pascal@4531 | 30 { |
Hans-G?nter@22163 | 31 mkdir -p $fs/usr |
Hans-G?nter@22163 | 32 mkdir -p $fs/etc/xl2tpd |
Hans-G?nter@22163 | 33 mkdir -p $fs/var/run/xl2tpd |
Hans-G?nter@22163 | 34 |
Hans-G?nter@22163 | 35 cp -a $src/doc $install/usr/share/ |
pascal@20412 | 36 rm $install/usr/share/doc/*.? |
Hans-G?nter@22163 | 37 cp -a $src/?[A-Z]* $src/examples $install/usr/share/doc |
Hans-G?nter@22163 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22163 | 39 cp -a $install/usr/sbin $fs/usr |
pascal@4531 | 40 } |