wok-6.x annotate pptpclient/receipt @ rev 25356
updated tig (2.5.1 -> 2.5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 27 06:32:16 2022 +0100 (2022-07-27) |
parents | a26adfb74f3f |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@3762 | 1 # SliTaz package receipt. |
pascal@3762 | 2 |
pascal@3762 | 3 PACKAGE="pptpclient" |
Hans-G?nter@21701 | 4 VERSION="1.10.0" |
pascal@3766 | 5 CATEGORY="network" |
Hans-G?nter@21701 | 6 TAGS="vpn tunnel" |
pascal@3762 | 7 SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol client." |
pascal@3762 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14698 | 9 LICENSE="GPL2" |
Hans-G?nter@21701 | 10 WEB_SITE="http://pptpclient.sourceforge.net/" |
Hans-G?nter@21701 | 11 |
pascal@3762 | 12 SOURCE="pptp" |
pascal@3762 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3762 | 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@14698 | 15 |
Hans-G?nter@21701 | 16 SUGGESTED="pptpclient-extra" |
pascal@3762 | 17 DEPENDS="ppp" |
pascal@3762 | 18 BUILD_DEPENDS="ppp" |
Hans-G?nter@21701 | 19 CONFIG_FILES="/etc/ppp/options.pptp" |
pascal@3762 | 20 |
pascal@24396 | 21 # What is the latest version available today? |
pascal@24396 | 22 current_version() |
pascal@24396 | 23 { |
pascal@24396 | 24 wget -O - https://sourceforge.net/projects/pptpclient/files/pptp/ 2>/dev/null | \ |
pascal@24396 | 25 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24396 | 26 sed '/scope="row/!d;s|.*/pptp-||;s|.tar.*||;q' |
pascal@24396 | 27 } |
pascal@24396 | 28 |
pascal@3762 | 29 # Rules to configure and make the package. |
pascal@3762 | 30 compile_rules() |
pascal@3762 | 31 { |
pascal@3762 | 32 make && |
pascal@14698 | 33 make DESTDIR=$DESTDIR install |
pascal@3762 | 34 } |
pascal@3762 | 35 |
pascal@3762 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3762 | 37 genpkg_rules() |
pascal@3762 | 38 { |
Hans-G?nter@21701 | 39 mkdir -p $fs/usr/sbin |
Hans-G?nter@21701 | 40 mkdir -p $install/usr/share/doc |
Hans-G?nter@21701 | 41 |
Hans-G?nter@21701 | 42 cp $src/Documentation/* $install/usr/share/doc |
Hans-G?nter@21701 | 43 cp $src/README $install/usr/share/doc |
Hans-G?nter@21701 | 44 cp $src/PROTOCOL-SECURITY $install/usr/share/doc |
Hans-G?nter@21701 | 45 cp $src/NEWS $install/usr/share/doc |
Hans-G?nter@21701 | 46 cp $src/USING $install/usr/share/doc |
Hans-G?nter@21701 | 47 cp -a $install/usr/sbin/pptp $fs/usr/sbin |
Hans-G?nter@21701 | 48 cp -a $install/etc $fs/ |
pascal@3762 | 49 } |