wok-next view xl2tpd/receipt @ rev 4630
linux-source: aufs2 fix + install speedup (thanks erjo)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 22 10:10:01 2009 +0100 (2009-12-22) |
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 }