wok-6.x annotate pptpclient-extra/receipt @ rev 17217

Up: file (5.20).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 14 11:50:51 2014 +0300 (2014-10-14)
parents be13f25e790b
children 51b58a875fb6
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@15001 8 LICENSE="GPL2"
pascal@3762 9 WANTED="pptpclient"
pascal@3762 10 SOURCE="pptp"
pascal@3762 11 WEB_SITE="http://pptpclient.sourceforge.net/"
pascal@15001 12
pascal@3762 13 DEPENDS="pptpclient perl"
pascal@3762 14
pascal@3762 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3762 16 genpkg_rules()
pascal@3762 17 {
pascal@3762 18 mkdir -p $fs/usr/sbin
pascal@15001 19 cp -a $install/usr/sbin/pptpsetup $fs/usr/sbin
pascal@4009 20 sed -i 's/die ".* MPPE .* in kernel/echo "$0: no MPPE kernel module/' \
pascal@4009 21 $fs/usr/sbin/pptpsetup
pascal@4010 22 sed -i 's/wc --lines/wc -l/' $fs/usr/sbin/pptpsetup
rocky@7826 23 sed -i '/# system checking/{n;s/^/#/;n;s/^/#/;}' $fs/usr/sbin/pptpsetup
pascal@3762 24 }
pascal@3762 25