wok-6.x view compiz-libcompizconfig/receipt @ rev 25553

Up amd-microcode (2021.Sep.10), intel-microcode (20230214)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 09 14:47:24 2023 +0000 (19 months ago)
parents cdbaf97bfe46
children
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-libcompizconfig"
4 SOURCE="libcompizconfig"
5 VERSION="0.8.14"
6 CATEGORY="x-window"
7 SHORT_DESC="Compiz configuration library."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/compiz-reloaded"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="compiz-core glib libgio libxml2 protobuf"
16 BUILD_DEPENDS="compiz-core-dev file glib-dev glibc-dev libgio-dev
17 libtool libxml2-dev libxslt-dev mesa-dev
18 protobuf-dev startup-notification-dev xorg-dev"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure --sysconfdir=/etc &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 mkdir -p $fs/usr/share
40 cp -a $install/etc $fs
41 cp -a $install/usr/lib/compiz* $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/share/compiz $fs/usr/share
44 find $fs -name 'lib*a' -delete
45 }