wok-6.x view pptpclient/receipt @ rev 25163
updated python-bcrypt (3.1.7 -> 3.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 10:37:34 2022 +0100 (2022-07-01) |
parents | a26adfb74f3f |
children | 7dd01dedad38 |
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="http://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 }