wok annotate pptpclient-extra/receipt @ rev 14805

Up slitaz-doc (4.4), ssfs (1.1), tazdrop (5.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 17 09:28:07 2013 +0200 (2013-07-17)
parents 36cbf3d918cd
children 408c87fa22ca
rev   line source
pascal@3762 1 # SliTaz package receipt.
pascal@3762 2
pascal@3762 3 PACKAGE="pptpclient-extra"
pascal@3762 4 VERSION="1.7.2"
pascal@3766 5 CATEGORY="network"
pascal@3762 6 SHORT_DESC="PPTP client configuration helper."
pascal@3762 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@3762 8 WANTED="pptpclient"
pascal@3762 9 SOURCE="pptp"
pascal@3762 10 WEB_SITE="http://pptpclient.sourceforge.net/"
pascal@3762 11 DEPENDS="pptpclient perl"
pascal@3762 12
pascal@3762 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3762 14 genpkg_rules()
pascal@3762 15 {
pascal@3762 16 mkdir -p $fs/usr/sbin
pascal@3762 17 cp -a $_pkg/usr/sbin/pptpsetup $fs/usr/sbin
pascal@4009 18 sed -i 's/die ".* MPPE .* in kernel/echo "$0: no MPPE kernel module/' \
pascal@4009 19 $fs/usr/sbin/pptpsetup
pascal@4010 20 sed -i 's/wc --lines/wc -l/' $fs/usr/sbin/pptpsetup
rocky@7826 21 sed -i '/# system checking/{n;s/^/#/;n;s/^/#/;}' $fs/usr/sbin/pptpsetup
pascal@3762 22 }
pascal@3762 23