wok-6.x annotate compiz-compizconfig-python/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | 380ffe05937a |
children | 8e1f5fe117e6 |
rev | line source |
---|---|
pascal@11219 | 1 # SliTaz package receipt. |
pascal@11219 | 2 |
pascal@11219 | 3 PACKAGE="compiz-compizconfig-python" |
pascal@11219 | 4 VERSION="0.9.4" |
pascal@11219 | 5 CATEGORY="x-window" |
pascal@11219 | 6 SHORT_DESC="Compiz Config Python module." |
pascal@11219 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@15000 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15000 | 10 WEB_SITE="http://www.compiz.org/" |
pascal@17869 | 11 WGET_URL="http://releases.compiz.org/$VERSION/$TARBALL" |
pascal@15000 | 12 |
pascal@11219 | 13 DEPENDS="python pygtk compiz-core compiz-libcompizconfig" |
pascal@11219 | 14 BUILD_DEPENDS="$DEPENDS python-dev pygtk-dev compiz-core-dev \ |
pascal@11219 | 15 compiz-libcompizconfig-dev python-cython \ |
pascal@11219 | 16 libxslt-dev glibmm-dev startup-notification-dev" |
pascal@11219 | 17 |
pascal@11219 | 18 # Rules to configure and make the package. |
pascal@11219 | 19 compile_rules() |
pascal@11219 | 20 { |
pascal@11219 | 21 python setup.py build |
pascal@11219 | 22 python setup.py install --root=$WOK/$PACKAGE/install |
pascal@11219 | 23 } |
pascal@11219 | 24 |
pascal@11219 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 26 genpkg_rules() |
pascal@11219 | 27 { |
pascal@11219 | 28 mkdir -p $fs |
pascal@15000 | 29 cp -a $install/usr $fs |
pascal@11219 | 30 } |