wok-stable view pptpclient-extra/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents 36cbf3d918cd
children
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 mkdir -p $fs/usr/sbin
17 cp -a $_pkg/usr/sbin/pptpsetup $fs/usr/sbin
18 sed -i 's/die ".* MPPE .* in kernel/echo "$0: no MPPE kernel module/' \
19 $fs/usr/sbin/pptpsetup
20 sed -i 's/wc --lines/wc -l/' $fs/usr/sbin/pptpsetup
21 sed -i '/# system checking/{n;s/^/#/;n;s/^/#/;}' $fs/usr/sbin/pptpsetup
22 }