wok view xl2tpd/receipt @ rev 20415

*l2tp*: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 02 13:34:15 2018 +0200 (2018-08-02)
parents 51a07cab339e
children 24d5b43beece
line source
1 # SliTaz package receipt.
3 PACKAGE="xl2tpd"
4 VERSION="1.2.4"
5 CATEGORY="network"
6 SHORT_DESC="Layer 2 Tunneling Protocol (L2TP) daemon."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xelerance.com/software/xl2tpd"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 TAGS="vpn tunnel"
13 CONFIG_FILES="/etc/xl2tpd"
15 DEPENDS="libpcap"
16 BUILD_DEPENDS="libpcap-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile
22 make PREFIX=/usr DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/etc/xl2tpd $fs/var/run/xl2tpd
29 cp -a $src/doc $install/usr/share/
30 rm $install/usr/share/doc/*.?
31 cp -a $src/?[A-Z]* $src/exemples $install/usr/share/doc
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 }