wok-current annotate poptop/receipt @ rev 3763
Add poptop (pptpd)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 29 09:31:32 2009 +0200 (2009-07-29) |
parents | |
children | e623451e5750 |
rev | line source |
---|---|
pascal@3763 | 1 # SliTaz package receipt. |
pascal@3763 | 2 |
pascal@3763 | 3 PACKAGE="poptop" |
pascal@3763 | 4 VERSION="1.3.4" |
pascal@3763 | 5 CATEGORY="system-tools" |
pascal@3763 | 6 SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol server." |
pascal@3763 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3763 | 8 SOURCE="pptpd" |
pascal@3763 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3763 | 10 WEB_SITE="http://www.poptop.org/" |
pascal@3763 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@3763 | 12 |
pascal@3763 | 13 # Rules to configure and make the package. |
pascal@3763 | 14 compile_rules() |
pascal@3763 | 15 { |
pascal@3763 | 16 cd $src |
pascal@3763 | 17 sed -i "s|^LIBDIR.*|LIBDIR=$PWD/_pkg/usr/lib/pptpd|" plugins/Makefile |
pascal@3763 | 18 ./configure --prefix=/usr \ |
pascal@3763 | 19 --mandir=/usr/share/man \ |
pascal@3763 | 20 $CONFIGURE_ARGS && |
pascal@3763 | 21 make && |
pascal@3763 | 22 make DESTDIR=$PWD/_pkg install |
pascal@3763 | 23 } |
pascal@3763 | 24 |
pascal@3763 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3763 | 26 genpkg_rules() |
pascal@3763 | 27 { |
pascal@3763 | 28 mkdir -p $fs/usr |
pascal@3763 | 29 cp -a $_pkg/usr/sbin $fs/usr |
pascal@3763 | 30 } |
pascal@3763 | 31 |