wok-current annotate xl2tpd/receipt @ rev 16212

weston: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 31 12:57:26 2014 +0000 (2014-03-31)
parents 9fa27dfc48ee
children e09f8538625f
rev   line source
pascal@4531 1 # SliTaz package receipt.
pascal@4531 2
pascal@4531 3 PACKAGE="xl2tpd"
pascal@4531 4 VERSION="1.2.4"
pascal@4531 5 CATEGORY="network"
pascal@4531 6 SHORT_DESC="Layer 2 Tunneling Protocol (L2TP) daemon."
pascal@4531 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14698 8 LICENSE="GPL2"
pascal@4531 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4531 10 WEB_SITE="http://www.xelerance.com/software/xl2tpd"
pascal@4531 11 WGET_URL="$WEB_SITE/$TARBALL"
pascal@4956 12 TAGS="vpn tunnel"
pascal@4531 13
pankso@9825 14 DEPENDS="libpcap"
pankso@9825 15 BUILD_DEPENDS="libpcap-dev"
pankso@9825 16
pascal@4531 17 # Rules to configure and make the package.
pascal@4531 18 compile_rules()
pascal@4531 19 {
pascal@4531 20 cd $src
pascal@4531 21 sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile
pankso@9825 22 make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@4531 23 }
pascal@4531 24
pascal@4531 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4531 26 genpkg_rules()
pascal@4531 27 {
pascal@4531 28 mkdir -p $fs/usr
pascal@14698 29 cp -a $install/usr/bin $fs/usr
pascal@14698 30 cp -a $install/usr/sbin $fs/usr
pascal@4531 31 }
pascal@4531 32