wok view emerald/receipt @ rev 24888
grub2: avoid grub-mkimage error: decompressor is too big
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:25:58 2022 +0100 (2022-04-02) |
parents | e2f8a574b574 |
children | 20ad21d5532c |
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 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh \
28 --prefix=/usr \
29 --with-gtk=2.0 \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 # Copy emerald.mo files:
39 for lang in de es fr it pt_BR ru; do
40 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
41 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/emerald.mo \
42 $fs/usr/share/locale/$lang/LC_MESSAGES/
43 done
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
48 cp -a $install/usr/lib/libemeraldengine.so* $fs/usr/lib
49 rm -f $fs/usr/lib/$PACKAGE/*/*.*a
50 cp -a $install/usr/share/$PACKAGE $fs/usr/share
51 cp -a $install/usr/share/icons $fs/usr/share
52 # SliTaz config and theme (to move in slitaz-configs ?)
53 cp -f $stuff/settings.ini $fs/usr/share/emerald
54 cp -f $stuff/theme.ini $fs/usr/share/emerald/theme
55 cd $fs/usr/share/emerald
56 mkdir themes ; cd themes ; ln -sf ../theme SliTaz
57 mkdir default ; cd default
58 for i in `ls ../../theme/*.png`; do ln -s $i `basename $i`; done
59 cp -a $install/usr/share/emerald/theme/theme.ini .
60 }