wok-6.x view poptop/receipt @ rev 15821
Up: bazaar-tools to 2.6.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Jan 24 07:06:27 2014 +0000 (2014-01-24) |
parents | aa4c910539a1 |
children | 5b7188f5cd91 |
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 LICENSE="GPL2"
9 SOURCE="pptpd"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.poptop.org/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="vpn tunnel"
14 CONFIG_FILES="/etc/pptp.conf /etc/ppp"
16 DEPENDS="ppp"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile
23 ./configure --prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 }