wok-6.x view compiz-core/receipt @ rev 24782
Up alpine (2.25)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 20 12:08:15 2022 +0000 (2022-03-20) |
parents | 0feced246be7 |
children |
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 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./autogen.sh \
31 --prefix=/usr \
32 --enable-shared \
33 --enable-librsvg \
34 --enable-dbus \
35 --enable-dbus-glib \
36 --enable-glib \
37 --disable-static \
38 --disable-inotify
39 make &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 mkdir -p $fs/usr/share/locale
49 cp -a $install/usr/bin $fs/usr
50 cp -a $install/usr/lib/compiz $fs/usr/lib
51 rm -rf $fs/usr/lib/compiz/*.la
52 cp -a $install/usr/lib/*.so* $fs/usr/lib
53 cp -a $install/usr/share/compiz $fs/usr/share
54 cp -a $install/usr/share/icons $fs/usr/share
56 # Set list of wanted locales in LOCALE_PACK
57 . $WOK/slitaz-i18n/stuff/locale-pack.conf
59 # Copy message files in wanted languages, if available
60 for locale in $LOCALE_PACK
61 do
62 [ -d $install/usr/share/locale/$locale ] || continue
63 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
64 done
66 sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator
67 }