wok view poptop/receipt @ rev 21074
updated jasper again (1.900.1 -> 2.0.16)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 14 17:22:53 2019 +0100 (2019-03-14) |
parents | 9c008d2424ac |
children | fda8ee7004a1 |
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 #WANTED="ppp" # need VERSION
15 CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd"
17 DEPENDS="ppp bcrelay"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 PPPVER=$(. $WOK/ppp/receipt ; echo $VERSION)
23 sed -i "s/#define VERSION.*/#define VERSION \"${PPPVER:-2.4.3}\"/" \
24 plugins/patchlevel.h
25 sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile
26 ./configure --prefix=/usr \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr $fs/etc/ppp $fs/etc/init.d $install/usr/share/doc
37 cp $src/README* $src/NEWS $src/samples/* $src/tools/* $src/html/* \
38 $src/AUTHORS $install/usr/share/doc
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 rm -f $fs/usr/sbin/bcrelay
42 cp $src/samples/pptpd.conf $fs/etc
43 cp $src/samples/options.pptpd $fs/etc/ppp
44 ln -s daemon $fs/etc/init.d/pptpd
45 }