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