wok annotate pptpclient-extra/receipt @ rev 4010
pptpclient-extra: busybox wc support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 02 21:11:42 2009 +0200 (2009-09-02) |
parents | 62fa05c02a25 |
children | 36cbf3d918cd |
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 |
pascal@3762 | 22 } |
pascal@3762 | 23 |