wok view xl2tpd/receipt @ rev 19635
Up SliTaz projects: cookutils(867), slitaz-base-files(321), slitaz-boot-scripts(437), slitaz-tools(1009), tazbug(95), tazirc(20), tazlito(448), tazpkg(933).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jan 17 17:38:43 2017 +0200 (2017-01-17) |
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 }