wok-6.x view xl2tpd/receipt @ rev 9745
Fixed binutils to work with tazwok. Need to cd $src before mkdir -p ../binutils-build. This will not chanage anything with cookutils.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon May 09 22:07:48 2011 +0000 (2011-05-09) |
parents | cf9b6575e973 |
children | 9fa27dfc48ee |
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"
12 TAGS="vpn tunnel"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile
19 make PREFIX=/usr DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/sbin $fs/usr
28 }