wok-current view pptpclient/receipt @ rev 25563

Up openssh (9.3p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 06 08:42:03 2023 +0000 (20 months ago)
parents 080c1dff8494
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pptpclient"
4 VERSION="1.10.0"
5 CATEGORY="network"
6 TAGS="vpn tunnel"
7 SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol client."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://pptpclient.sourceforge.net/"
12 SOURCE="pptp"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 SUGGESTED="pptpclient-extra"
17 DEPENDS="ppp"
18 BUILD_DEPENDS="ppp"
19 CONFIG_FILES="/etc/ppp/options.pptp"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/pptpclient/files/pptp/ 2>/dev/null | \
25 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
26 sed '/scope="row/!d;s|.*/pptp-||;s|.tar.*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/sbin
40 mkdir -p $install/usr/share/doc
42 cp $src/Documentation/* $install/usr/share/doc
43 cp $src/README $install/usr/share/doc
44 cp $src/PROTOCOL-SECURITY $install/usr/share/doc
45 cp $src/NEWS $install/usr/share/doc
46 cp $src/USING $install/usr/share/doc
47 cp -a $install/usr/sbin/pptp $fs/usr/sbin
48 cp -a $install/etc $fs/
49 }