wok view xl2tpd/receipt @ rev 21291
updated libsdl-mixer and libsdl-mixer-dev (1.2.11 -> 1.2.12)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 16 17:37:23 2019 +0100 (2019-04-16) |
parents | 24d5b43beece |
children | 704bb2b5d1d0 |
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="https://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 }