wok view pptpclient-extra/receipt @ rev 17369

linux: do not copy Module.symvers-modules but Module.symvers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 21 09:15:47 2014 +0100 (2014-11-21)
parents be13f25e790b
children 51b58a875fb6
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 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 }