wok-4.x annotate xl2tpd/receipt @ rev 4823
Up: mpd (0.15.8)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Jan 20 20:19:04 2010 +0000 (2010-01-20) |
parents | |
children | 931c23265c9d |
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@4531 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4531 | 9 WEB_SITE="http://www.xelerance.com/software/xl2tpd" |
pascal@4531 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@4531 | 11 BUILD_DEPENDS="libpcap" |
pascal@4531 | 12 |
pascal@4531 | 13 # Rules to configure and make the package. |
pascal@4531 | 14 compile_rules() |
pascal@4531 | 15 { |
pascal@4531 | 16 cd $src |
pascal@4531 | 17 sed -i 's/-lpcap \$(LDLIBS) -o pfc pfc.o/$(LDLIBS) -o pfc pfc.o -lpcap/' Makefile |
pascal@4531 | 18 make PREFIX=/usr DESTDIR=$PWD/_pkg install |
pascal@4531 | 19 } |
pascal@4531 | 20 |
pascal@4531 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4531 | 22 genpkg_rules() |
pascal@4531 | 23 { |
pascal@4531 | 24 mkdir -p $fs/usr |
pascal@4531 | 25 cp -a $_pkg/usr/bin $fs/usr |
pascal@4531 | 26 cp -a $_pkg/usr/sbin $fs/usr |
pascal@4531 | 27 } |
pascal@4531 | 28 |