wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="pptpclient-extra"
4 VERSION="1.8.0"
5 CATEGORY="network"
6 SHORT_DESC="PPTP client configuration helper."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WANTED="pptpclient"
10 SOURCE="pptp"
11 WEB_SITE="http://pptpclient.sourceforge.net/"
13 DEPENDS="pptpclient perl"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/sbin
19 cp -a $install/usr/sbin/pptpsetup $fs/usr/sbin
20 sed -i 's/die ".* MPPE .* in kernel/echo "$0: no MPPE kernel module/' \
21 $fs/usr/sbin/pptpsetup
22 sed -i 's/wc --lines/wc -l/' $fs/usr/sbin/pptpsetup
23 sed -i '/# system checking/{n;s/^/#/;n;s/^/#/;}' $fs/usr/sbin/pptpsetup
24 }