wok-current view pptpclient-extra/receipt @ rev 8156
Up: tazpkg to 4.2.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Jan 26 14:54:09 2011 +0000 (2011-01-26) |
parents | 51ec27367e81 |
children | be13f25e790b |
line source
1 # SliTaz package receipt.
3 PACKAGE="pptpclient-extra"
4 VERSION="1.7.2"
5 CATEGORY="network"
6 SHORT_DESC="PPTP client configuration helper."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WANTED="pptpclient"
9 SOURCE="pptp"
10 WEB_SITE="http://pptpclient.sourceforge.net/"
11 DEPENDS="pptpclient perl"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
17 mkdir -p $fs/usr/sbin
18 cp -a $_pkg/usr/sbin/pptpsetup $fs/usr/sbin
19 sed -i 's/die ".* MPPE .* in kernel/echo "$0: no MPPE kernel module/' \
20 $fs/usr/sbin/pptpsetup
21 sed -i 's/wc --lines/wc -l/' $fs/usr/sbin/pptpsetup
22 sed -i '/# system checking/{n;s/^/#/;n;s/^/#/;}' $fs/usr/sbin/pptpsetup
23 }