wok-4.x view xl2tpd/receipt @ rev 4712

Up: ntfs-3g* (2009.11.14)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jan 04 21:52:33 2010 +0100 (2010-01-04)
parents
children 931c23265c9d
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.xelerance.com/software/xl2tpd"
10 WGET_URL="$WEB_SITE/$TARBALL"
11 BUILD_DEPENDS="libpcap"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile
18 make PREFIX=/usr DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 cp -a $_pkg/usr/bin $fs/usr
26 cp -a $_pkg/usr/sbin $fs/usr
27 }