wok-next annotate 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
rev   line source
pascal@20166 1 # SliTaz package receipt v2.
pascal@3762 2
pascal@3762 3 PACKAGE="pptpclient"
pascal@18131 4 VERSION="1.8.0"
pascal@3766 5 CATEGORY="network"
al@21020 6 SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol client"
pascal@3762 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14698 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://pptpclient.sourceforge.net/"
al@21020 10
pascal@3762 11 SOURCE="pptp"
pascal@3762 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@3762 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@14698 14
pascal@20136 15 BUILD_DEPENDS="ppp perl"
al@21020 16 SPLIT="$PACKAGE-extra"
pascal@3762 17
al@21020 18 compile_rules() {
pascal@3762 19 make &&
al@21020 20 make DESTDIR=$install install || retyrn 1
al@21020 21
al@21020 22 sed \
al@21020 23 -e 's|die ".* MPPE .* in kernel|echo "$0: no MPPE kernel module|' \
al@21020 24 -e 's|wc --lines|wc -l|' \
al@21020 25 -e '/# system checking/{n;s/^/#/;n;s/^/#/;}' \
al@21020 26 -i $install/usr/sbin/pptpsetup
pascal@3762 27 }
pascal@3762 28
al@21020 29 genpkg_rules() {
pascal@20166 30 case $PACKAGE in
al@21020 31 pptpclient)
al@21020 32 copy pptp etc/
al@21020 33 CONFIG_FILES="/etc/ppp/options.pptp"
al@21020 34 DEPENDS="ppp"
al@21020 35 SUGGESTED="pptpclient-extra"
al@21020 36 TAGS="vpn tunnel"
al@21020 37 ;;
al@21020 38 *-extra)
al@21020 39 copy @std @rm
al@21020 40 CAT="network|configuration helper"
al@21020 41 DEPENDS="pptpclient perl"
al@21020 42 ;;
pascal@20166 43 esac
pascal@3762 44 }