wok-6.x view emerald/receipt @ rev 22119
updated watchdog (5.9 -> 5.15)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Nov 03 10:49:54 2019 +0100 (2019-11-03) |
parents | 92b9429ba668 |
children | e2f8a574b574 |
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"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./autogen.sh \
22 --prefix=/usr \
23 --with-gtk=2.0 \
24 $CONFIGURE_ARGS &&
25 make -j 1 &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 # Copy emerald.mo files:
33 for lang in de es fr it pt_BR ru; do
34 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
35 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/emerald.mo \
36 $fs/usr/share/locale/$lang/LC_MESSAGES/
37 done
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
42 cp -a $install/usr/lib/libemeraldengine.so* $fs/usr/lib
43 rm -f $fs/usr/lib/$PACKAGE/*/*.*a
44 cp -a $install/usr/share/$PACKAGE $fs/usr/share
45 cp -a $install/usr/share/icons $fs/usr/share
46 # SliTaz config and theme (to move in slitaz-configs ?)
47 cp -f $stuff/settings.ini $fs/usr/share/emerald
48 cp -f $stuff/theme.ini $fs/usr/share/emerald/theme
49 cd $fs/usr/share/emerald
50 mkdir themes ; cd themes ; ln -sf ../theme SliTaz
51 mkdir default ; cd default
52 for i in `ls ../../theme/*.png`; do ln -s $i `basename $i`; done
53 cp -a $install/usr/share/emerald/theme/theme.ini .
54 }