wok-6.x view xl2tpd/receipt @ rev 15827

Add gsim51
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 24 16:35:49 2014 +0100 (2014-01-24)
parents 9fa27dfc48ee
children e09f8538625f
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 }