wok-4.x view poptop/receipt @ rev 4046
slitaz-loram-*: fix release cdrom
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 09 12:11:22 2009 +0200 (2009-09-09) |
parents | e623451e5750 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="poptop"
4 VERSION="1.3.4"
5 CATEGORY="network"
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"
12 TAGS="vpn tunnel"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i "s|^LIBDIR.*|LIBDIR=$PWD/_pkg/usr/lib/pptpd|" plugins/Makefile
19 ./configure --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
31 }