wok-6.x annotate compiz-ccsm/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-ccsm" |
pascal@11219 | 4 VERSION="0.9.4" |
pascal@11219 | 5 CATEGORY="x-window" |
pascal@11219 | 6 SHORT_DESC="Compiz Config Settings Manager." |
pascal@11219 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@11219 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11219 | 10 WEB_SITE="http://www.compiz.org/" |
pascal@17869 | 11 WGET_URL="http://releases.compiz.org/$VERSION/$TARBALL" |
pascal@11219 | 12 |
pankso@13372 | 13 DEPENDS="python pygtk compiz-core compiz-libcompizconfig \ |
pankso@13372 | 14 compiz-compizconfig-python" |
pankso@13372 | 15 BUILD_DEPENDS="$DEPENDS python-dev pygtk-dev compiz-core-dev \ |
pankso@13372 | 16 compiz-libcompizconfig-dev" |
pankso@13372 | 17 |
pascal@11219 | 18 # Rules to configure and make the package. |
pascal@11219 | 19 compile_rules() |
pascal@11219 | 20 { |
pascal@11219 | 21 ./setup.py build --prefix=/usr |
pascal@11219 | 22 ./setup.py install --prefix=/usr --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/usr/share |
pascal@15000 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 30 cp -a $install/usr/lib $fs/usr |
pascal@15000 | 31 cp -a $install/usr/share/ccsm $fs/usr/share |
pascal@15000 | 32 cp -a $install/usr/share/icons $fs/usr/share |
pascal@11219 | 33 cd $fs/usr/share |
pascal@11219 | 34 mkdir pixmaps |
pascal@11219 | 35 ln -s icons/hicolor/32x32/apps/ccsm.png pixmaps/ccsm.png |
pascal@11219 | 36 } |