wok-4.x annotate compiz-libcompizconfig/receipt @ rev 11897
libfm: Fix package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 29 15:56:09 2012 +0100 (2012-02-29) |
parents | |
children |
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 DEPENDS="compiz-core" |
pascal@11219 | 9 BUILD_DEPENDS="$DEPENDS compiz-core-dev cmake glibc-dev \ |
pascal@11219 | 10 libxslt-dev glibmm-dev startup-notification-dev libboost-dev" |
pascal@11219 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11219 | 12 WEB_SITE="http://www.compiz.org/" |
pascal@11219 | 13 WGET_URL="http://releases.compiz.org/$VERSION/$TARBALL" |
pascal@11219 | 14 |
pascal@11219 | 15 # Rules to configure and make the package. |
pascal@11219 | 16 compile_rules() |
pascal@11219 | 17 { |
pascal@11219 | 18 cd $src |
pascal@11219 | 19 mkdir build && cd build |
pascal@11219 | 20 cmake \ |
pascal@11219 | 21 -DCMAKE_INSTALL_PREFIX="/usr" \ |
pascal@11219 | 22 -DCOMPIZ_DESTDIR="../../install" .. && |
pascal@11219 | 23 make && make install && |
pascal@11219 | 24 make findcompizconfig_install |
pascal@11219 | 25 } |
pascal@11219 | 26 |
pascal@11219 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 28 genpkg_rules() |
pascal@11219 | 29 { |
pascal@11219 | 30 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11219 | 31 cp -a $_pkg/etc $fs |
pascal@11219 | 32 cp -a $_pkg/usr/lib/compiz* $fs/usr/lib |
pascal@11219 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11219 | 34 } |