wok-current annotate compiz-ccsm/receipt @ rev 14527
Add ufiformat
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 18 00:21:47 2013 +0200 (2013-05-18) |
parents | 02ae81877dfd |
children | 380ffe05937a |
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@11219 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11219 | 9 WEB_SITE="http://www.compiz.org/" |
pascal@11219 | 10 WGET_URL="http://releases.compiz.org/0.9.4/$TARBALL" |
pascal@11219 | 11 |
pankso@13372 | 12 DEPENDS="python pygtk compiz-core compiz-libcompizconfig \ |
pankso@13372 | 13 compiz-compizconfig-python" |
pankso@13372 | 14 BUILD_DEPENDS="$DEPENDS python-dev pygtk-dev compiz-core-dev \ |
pankso@13372 | 15 compiz-libcompizconfig-dev" |
pankso@13372 | 16 |
pascal@11219 | 17 # Rules to configure and make the package. |
pascal@11219 | 18 compile_rules() |
pascal@11219 | 19 { |
pascal@11219 | 20 cd $src |
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@11219 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@11219 | 30 cp -a $_pkg/usr/lib $fs/usr |
pascal@11219 | 31 cp -a $_pkg/usr/share/ccsm $fs/usr/share |
pascal@11219 | 32 cp -a $_pkg/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 } |