wok annotate compiz-libcompizconfig/receipt @ rev 19158
mesa*: fix build
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed May 25 23:07:05 2016 +0200 (2016-05-25) |
parents | c4cab08cbd60 |
children | 8e1f5fe117e6 |
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@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/$VERSION/$TARBALL" |
pascal@11219 | 12 |
pankso@12417 | 13 DEPENDS="compiz-core protobuf glib libgio libxml2" |
pankso@12417 | 14 BUILD_DEPENDS="xorg-dev compiz-core-dev cmake glibc-dev libxml2-dev \ |
pankso@12417 | 15 libxslt-dev glibmm-dev startup-notification-dev libboost-dev \ |
pankso@12417 | 16 protobuf-dev glib-dev libgio-dev" |
pankso@12405 | 17 |
pascal@11219 | 18 # Rules to configure and make the package. |
pascal@11219 | 19 compile_rules() |
pascal@11219 | 20 { |
pascal@11219 | 21 mkdir build && cd build |
pascal@11219 | 22 cmake \ |
pascal@11219 | 23 -DCMAKE_INSTALL_PREFIX="/usr" \ |
pascal@17769 | 24 -DCMAKE_MINIMUM_REQUIRED_VERSION="1.0" \ |
pascal@11219 | 25 -DCOMPIZ_DESTDIR="../../install" .. && |
pascal@11219 | 26 make && make install && |
pascal@11219 | 27 make findcompizconfig_install |
pascal@11219 | 28 } |
pascal@11219 | 29 |
pascal@11219 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 31 genpkg_rules() |
pascal@11219 | 32 { |
pascal@11219 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15046 | 34 #cp -a $install/etc $fs |
pankso@12405 | 35 cp -a $install/usr/lib/compiz* $fs/usr/lib |
pankso@12405 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11219 | 37 } |