wok-next view pptpclient/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents a47ee853e880
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pptpclient"
4 VERSION="1.8.0"
5 CATEGORY="network"
6 SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol client"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://pptpclient.sourceforge.net/"
11 SOURCE="pptp"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="ppp perl"
16 SPLIT="$PACKAGE-extra"
18 compile_rules() {
19 make &&
20 make DESTDIR=$install install || retyrn 1
22 sed \
23 -e 's|die ".* MPPE .* in kernel|echo "$0: no MPPE kernel module|' \
24 -e 's|wc --lines|wc -l|' \
25 -e '/# system checking/{n;s/^/#/;n;s/^/#/;}' \
26 -i $install/usr/sbin/pptpsetup
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 pptpclient)
32 copy pptp etc/
33 CONFIG_FILES="/etc/ppp/options.pptp"
34 DEPENDS="ppp"
35 SUGGESTED="pptpclient-extra"
36 TAGS="vpn tunnel"
37 ;;
38 *-extra)
39 copy @std @rm
40 CAT="network|configuration helper"
41 DEPENDS="pptpclient perl"
42 ;;
43 esac
44 }