wok view compiz-libcompizconfig/receipt @ rev 24159
Up ventoy (1.0.62)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 20 10:05:11 2021 +0000 (2021-12-20) |
parents | cdbaf97bfe46 |
children | fe1b5660fdd1 |
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 }