wok-6.x view xl2tpd/receipt @ rev 13797
Create grub entry based on current root partition. Fix bug78
author | border |
---|---|
date | Sat Jan 05 12:34:10 2013 -0500 (2013-01-05) |
parents | 931c23265c9d |
children | b768ede0c5cb |
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 TAGS="vpn tunnel"
13 DEPENDS="libpcap"
14 BUILD_DEPENDS="libpcap-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile
21 make PREFIX=/usr DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 }