wok-6.x view python-pyparsing/receipt @ rev 8301

Fix: shared-mime-info now take care of --root= option
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 01 02:50:01 2011 +0100 (2011-02-01)
parents
children fd4f1e692109
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyparsing"
4 SOURCE="pyparsing"
5 VERSION="1.5.0"
6 CATEGORY="development"
7 SHORT_DESC="Fuse Filsystem in user space."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://pyparsing.wikispaces.com/"
11 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build &&
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 }
29 # Remove old package.
30 post_install()
31 {
32 rm -rf $1/var/lib/tazpkg/installed/pyparsing
33 }