wok view compiz-core/receipt @ rev 25598

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 12:03:07 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
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 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./autogen.sh \
32 --prefix=/usr \
33 --enable-shared \
34 --enable-librsvg \
35 --enable-dbus \
36 --enable-dbus-glib \
37 --enable-glib \
38 --disable-static \
39 --disable-inotify
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 mkdir -p $fs/usr/share/locale
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/lib/compiz $fs/usr/lib
52 rm -rf $fs/usr/lib/compiz/*.la
53 cp -a $install/usr/lib/*.so* $fs/usr/lib
54 cp -a $install/usr/share/compiz $fs/usr/share
55 cp -a $install/usr/share/icons $fs/usr/share
57 # Set list of wanted locales in LOCALE_PACK
58 . $WOK/slitaz-i18n/stuff/locale-pack.conf
60 # Copy message files in wanted languages, if available
61 for locale in $LOCALE_PACK
62 do
63 [ -d $install/usr/share/locale/$locale ] || continue
64 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
65 done
67 sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator
68 }