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

Up tazpkg-test(859)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 13 13:58:52 2015 +0200 (2015-11-13)
parents 408c87fa22ca
children a26adfb74f3f
rev   line source
pascal@3762 1 # SliTaz package receipt.
pascal@3762 2
pascal@3762 3 PACKAGE="pptpclient-extra"
pascal@18131 4 VERSION="1.8.0"
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