wok-6.x view xl2tpd/receipt @ rev 20426

linld: fix xmm_driver
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 13 00:46:30 2018 +0200 (2018-08-13)
parents 633236fac7b8
children 8dd8bab3f0ca
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/examples $install/usr/share/doc
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 }