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