wok-current view python-pyparsing/receipt @ rev 15845
dosfstools: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 11:23:53 2014 +0000 (2014-01-27) |
parents | aa7d170708a9 |
children | 2e5434fe0bdb |
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 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pyparsing.wikispaces.com/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/pyparsing
34 }