wok view emerald/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (8 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="emerald"
4 VERSION="0.8.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Window decorator for Compiz."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/compiz-reloaded"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="xorg-libX11 gtk+ libwnck compiz-core"
15 BUILD_DEPENDS="autoconf automake xorg-dev gtk+-dev compiz-core-dev \
16 libtool libwnck-dev xz"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh \
29 --prefix=/usr \
30 --with-gtk=2.0 \
31 $CONFIGURE_ARGS &&
32 make -j 1 &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 # Copy emerald.mo files:
40 for lang in de es fr it pt_BR ru; do
41 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
42 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/emerald.mo \
43 $fs/usr/share/locale/$lang/LC_MESSAGES/
44 done
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
49 cp -a $install/usr/lib/libemeraldengine.so* $fs/usr/lib
50 rm -f $fs/usr/lib/$PACKAGE/*/*.*a
51 cp -a $install/usr/share/$PACKAGE $fs/usr/share
52 cp -a $install/usr/share/icons $fs/usr/share
53 # SliTaz config and theme (to move in slitaz-configs ?)
54 cp -f $stuff/settings.ini $fs/usr/share/emerald
55 cp -f $stuff/theme.ini $fs/usr/share/emerald/theme
56 cd $fs/usr/share/emerald
57 mkdir themes ; cd themes ; ln -sf ../theme SliTaz
58 mkdir default ; cd default
59 for i in `ls ../../theme/*.png`; do ln -s $i `basename $i`; done
60 cp -a $install/usr/share/emerald/theme/theme.ini .
61 }