wok-next annotate pptpclient-extra/receipt @ rev 8243

Up: slitaz-base-files 4.1.2, tazpkg 4.2.3
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Jan 28 23:10:49 2011 +0100 (2011-01-28)
parents 51ec27367e81
children be13f25e790b
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 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
pascal@3762 17 mkdir -p $fs/usr/sbin
pascal@3762 18 cp -a $_pkg/usr/sbin/pptpsetup $fs/usr/sbin
pascal@4009 19 sed -i 's/die ".* MPPE .* in kernel/echo "$0: no MPPE kernel module/' \
pascal@4009 20 $fs/usr/sbin/pptpsetup
pascal@4010 21 sed -i 's/wc --lines/wc -l/' $fs/usr/sbin/pptpsetup
rocky@7826 22 sed -i '/# system checking/{n;s/^/#/;n;s/^/#/;}' $fs/usr/sbin/pptpsetup
pascal@3762 23 }
pascal@3762 24