wok-6.x annotate compiz-libcompizconfig/receipt @ rev 12405
Add compiz meta package (Compiz/LXDE work fine)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 20 18:01:38 2012 +0200 (2012-04-20) |
parents | 02ae81877dfd |
children | af7e4ca10a06 |
rev | line source |
---|---|
pascal@11219 | 1 # SliTaz package receipt. |
pascal@11219 | 2 |
pascal@11219 | 3 PACKAGE="compiz-libcompizconfig" |
pascal@11219 | 4 VERSION="0.9.4" |
pascal@11219 | 5 CATEGORY="x-window" |
pascal@11219 | 6 SHORT_DESC="Compiz configuration library." |
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/$VERSION/$TARBALL" |
pascal@11219 | 11 |
pankso@12405 | 12 DEPENDS="compiz-core" |
pankso@12405 | 13 BUILD_DEPENDS="compiz-core-dev cmake glibc-dev libxslt-dev glibmm-dev \ |
pankso@12405 | 14 startup-notification-dev libboost-dev" |
pankso@12405 | 15 |
pascal@11219 | 16 # Rules to configure and make the package. |
pascal@11219 | 17 compile_rules() |
pascal@11219 | 18 { |
pascal@11219 | 19 cd $src |
pascal@11219 | 20 mkdir build && cd build |
pascal@11219 | 21 cmake \ |
pascal@11219 | 22 -DCMAKE_INSTALL_PREFIX="/usr" \ |
pascal@11219 | 23 -DCOMPIZ_DESTDIR="../../install" .. && |
pascal@11219 | 24 make && make install && |
pascal@11219 | 25 make findcompizconfig_install |
pascal@11219 | 26 } |
pascal@11219 | 27 |
pascal@11219 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 29 genpkg_rules() |
pascal@11219 | 30 { |
pascal@11219 | 31 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12405 | 32 cp -a $install/etc $fs |
pankso@12405 | 33 cp -a $install/usr/lib/compiz* $fs/usr/lib |
pankso@12405 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11219 | 35 } |