wok annotate python-pyparsing/receipt @ rev 16261
ARM: add most lxde componement
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 07:55:33 2014 +0200 (2014-04-05) |
parents | aa7d170708a9 |
children | 2e5434fe0bdb |
rev | line source |
---|---|
claudinei@3418 | 1 # SliTaz package receipt. |
claudinei@3418 | 2 |
claudinei@3418 | 3 PACKAGE="python-pyparsing" |
claudinei@3418 | 4 SOURCE="pyparsing" |
claudinei@3418 | 5 VERSION="1.5.0" |
claudinei@3418 | 6 CATEGORY="development" |
claudinei@3418 | 7 SHORT_DESC="Fuse Filsystem in user space." |
claudinei@3418 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="MIT" |
claudinei@3418 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3418 | 11 WEB_SITE="http://pyparsing.wikispaces.com/" |
claudinei@3418 | 12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
claudinei@3418 | 13 DEPENDS="python" |
claudinei@3418 | 14 BUILD_DEPENDS="python python-dev" |
claudinei@3418 | 15 |
claudinei@3418 | 16 # Rules to configure and make the package. |
claudinei@3418 | 17 compile_rules() |
claudinei@3418 | 18 { |
claudinei@3418 | 19 cd $src |
claudinei@3418 | 20 python setup.py build && |
pascal@15378 | 21 python setup.py install --root=$DESTDIR |
claudinei@3418 | 22 } |
claudinei@3418 | 23 |
claudinei@3418 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3418 | 25 genpkg_rules() |
claudinei@3418 | 26 { |
pascal@15378 | 27 cp -a $install/usr $fs |
claudinei@3418 | 28 } |
claudinei@3418 | 29 |
claudinei@3418 | 30 # Remove old package. |
claudinei@3418 | 31 post_install() |
claudinei@3418 | 32 { |
claudinei@3418 | 33 rm -rf $1/var/lib/tazpkg/installed/pyparsing |
claudinei@3418 | 34 } |