wok annotate xl2tpd/receipt @ rev 20670

Up speex (1.2.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 21 15:15:42 2019 +0100 (2019-01-21)
parents 633236fac7b8
children 8dd8bab3f0ca
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@20413 13 CONFIG_FILES="/etc/xl2tpd"
pascal@4531 14
pankso@9825 15 DEPENDS="libpcap"
pankso@9825 16 BUILD_DEPENDS="libpcap-dev"
pankso@9825 17
pascal@4531 18 # Rules to configure and make the package.
pascal@4531 19 compile_rules()
pascal@4531 20 {
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@20413 28 mkdir -p $fs/usr $fs/etc/xl2tpd $fs/var/run/xl2tpd
pascal@20415 29 cp -a $src/doc $install/usr/share/
pascal@20412 30 rm $install/usr/share/doc/*.?
pascal@20416 31 cp -a $src/?[A-Z]* $src/examples $install/usr/share/doc
pascal@14698 32 cp -a $install/usr/bin $fs/usr
pascal@14698 33 cp -a $install/usr/sbin $fs/usr
pascal@4531 34 }