wok-6.x annotate python-pyparsing/receipt @ rev 13299

dukto: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 28 14:08:54 2012 +0200 (2012-08-28)
parents
children fd4f1e692109
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"
claudinei@3418 9 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3418 10 WEB_SITE="http://pyparsing.wikispaces.com/"
claudinei@3418 11 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
claudinei@3418 12 DEPENDS="python"
claudinei@3418 13 BUILD_DEPENDS="python python-dev"
claudinei@3418 14
claudinei@3418 15 # Rules to configure and make the package.
claudinei@3418 16 compile_rules()
claudinei@3418 17 {
claudinei@3418 18 cd $src
claudinei@3418 19 python setup.py build &&
claudinei@3418 20 python setup.py install --root=$PWD/_pkg
claudinei@3418 21 }
claudinei@3418 22
claudinei@3418 23 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3418 24 genpkg_rules()
claudinei@3418 25 {
claudinei@3418 26 cp -a $_pkg/usr $fs
claudinei@3418 27 }
claudinei@3418 28
claudinei@3418 29 # Remove old package.
claudinei@3418 30 post_install()
claudinei@3418 31 {
claudinei@3418 32 rm -rf $1/var/lib/tazpkg/installed/pyparsing
claudinei@3418 33 }