wok-6.x view poptop/receipt @ rev 18131
Up pptpclient (1.8.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 13 13:10:10 2015 +0200 (2015-06-13) |
parents | 742054c507b6 |
children | ee3b11a5d1d1 |
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://poptop.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="vpn tunnel"
14 CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd"
16 DEPENDS="ppp"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile
22 ./configure --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/etc/ppp
33 cp -a $install/usr/sbin $fs/usr
34 cp $src/samples/pptpd.conf $fs/etc
35 cp $src/samples/options.pptpd $fs/etc/ppp
36 }