wok view compiz-core/receipt @ rev 23173
updated mercurial (4.9.1 -> 5.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 18 10:22:51 2020 +0100 (2020-03-18) |
parents | cdbaf97bfe46 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-core"
4 VERSION="0.8.14"
5 CATEGORY="x-window"
6 SHORT_DESC="An OpenGL compositing manager for 3D effect."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT GPL LGPL"
9 WEB_SITE="https://github.com/compiz-reloaded"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/compiz/archive/v$VERSION.tar.gz"
14 DEPENDS="compiz-bcop compiz-libcompizconfig dbus dbus-glib
15 librsvg libglu-mesa mesa libxslt startup-notification"
16 BUILD_DEPENDS="autoconf automake xz cairo-dev dbus-dev dbus-glib-dev
17 file intltool libcroco-dev librsvg-dev libtool libxslt-dev
18 mesa-dev pango-dev startup-notification-dev
19 util-linux-uuid-dev xcb-util-dev xorg-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./autogen.sh \
25 --prefix=/usr \
26 --enable-shared \
27 --enable-librsvg \
28 --enable-dbus \
29 --enable-dbus-glib \
30 --enable-glib \
31 --disable-static \
32 --disable-inotify
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 mkdir -p $fs/usr/share/locale
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/compiz $fs/usr/lib
45 rm -rf $fs/usr/lib/compiz/*.la
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/share/compiz $fs/usr/share
48 cp -a $install/usr/share/icons $fs/usr/share
50 # Set list of wanted locales in LOCALE_PACK
51 . $WOK/slitaz-i18n/stuff/locale-pack.conf
53 # Copy message files in wanted languages, if available
54 for locale in $LOCALE_PACK
55 do
56 [ -d $install/usr/share/locale/$locale ] || continue
57 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
58 done
60 sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator
61 }