wok-next view xl2tpd/receipt @ rev 15609

Up rack (1.3.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 20:49:37 2013 +0000 (2013-12-06)
parents 9fa27dfc48ee
children d5aab818505e
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"
14 DEPENDS="libpcap"
15 BUILD_DEPENDS="libpcap-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/sbin $fs/usr
31 }