wok-6.x view pptpclient-extra/receipt @ rev 18480

syslinux: fix post-install when upgrade the package
No more "XXXXXXXX" here, so post_install() fails
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 08 03:44:14 2015 +0300 (2015-10-08)
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 }