wok-next annotate compiz-libcompizconfig/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 8e1f5fe117e6 |
children | a7b1395df64a |
rev | line source |
---|---|
pascal@11219 | 1 # SliTaz package receipt. |
pascal@11219 | 2 |
pascal@11219 | 3 PACKAGE="compiz-libcompizconfig" |
psychomaniak@19217 | 4 SOURCE="libcompizconfig" |
psychomaniak@19217 | 5 VERSION="0.8.12.1" |
pascal@11219 | 6 CATEGORY="x-window" |
pascal@11219 | 7 SHORT_DESC="Compiz configuration library." |
pascal@11219 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
psychomaniak@19217 | 10 TARBALL="$SOURCE-$VERSION.tar.xz" |
psychomaniak@19217 | 11 WEB_SITE="https://github.com/compiz-reloaded" |
psychomaniak@19217 | 12 WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL" |
pascal@11219 | 13 |
al@19779 | 14 DEPENDS="compiz-core protobuf glib libxml2" |
psychomaniak@19217 | 15 BUILD_DEPENDS="xorg-dev compiz-core-dev glibc-dev libxml2-dev mesa-dev \ |
al@19779 | 16 libxslt-dev startup-notification-dev protobuf-dev glib-dev libtool" |
pankso@12405 | 17 |
pascal@11219 | 18 # Rules to configure and make the package. |
pascal@11219 | 19 compile_rules() |
pascal@11219 | 20 { |
psychomaniak@19217 | 21 ./configure --sysconfdir=/etc |
psychomaniak@19217 | 22 make && make 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/lib $fs/usr/share |
psychomaniak@19217 | 29 cp -a $install/etc $fs |
pankso@12405 | 30 cp -a $install/usr/lib/compiz* $fs/usr/lib |
pankso@12405 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
psychomaniak@19217 | 32 cp -a $install/usr/share/compiz $fs/usr/share |
psychomaniak@19217 | 33 find $fs -name 'lib*a' -delete |
pascal@11219 | 34 } |