wok-current annotate compiz-ccsm/receipt @ rev 17675
nmon: keep source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 18 11:21:08 2015 +0100 (2015-02-18) |
parents | dcf18bb9b091 |
children | d3eb5f4b53ea |
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@11219 | 11 WGET_URL="http://releases.compiz.org/0.9.4/$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 cd $src |
pascal@11219 | 22 ./setup.py build --prefix=/usr |
pascal@11219 | 23 ./setup.py install --prefix=/usr --root=$WOK/$PACKAGE/install |
pascal@11219 | 24 } |
pascal@11219 | 25 |
pascal@11219 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 27 genpkg_rules() |
pascal@11219 | 28 { |
pascal@11219 | 29 mkdir -p $fs/usr/share |
pascal@15000 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 31 cp -a $install/usr/lib $fs/usr |
pascal@15000 | 32 cp -a $install/usr/share/ccsm $fs/usr/share |
pascal@15000 | 33 cp -a $install/usr/share/icons $fs/usr/share |
pascal@11219 | 34 cd $fs/usr/share |
pascal@11219 | 35 mkdir pixmaps |
pascal@11219 | 36 ln -s icons/hicolor/32x32/apps/ccsm.png pixmaps/ccsm.png |
pascal@11219 | 37 } |