wok-current view xl2tpd/receipt @ rev 13684
cryptopp: fix to genpkg_rules: replaced with
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Sat Dec 01 08:24:37 2012 +0000 (2012-12-01) |
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 }