wok view emerald/receipt @ rev 19896
Add transcode
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 06 19:38:29 2017 +0200 (2017-04-06) |
parents | 533c0cab6960 |
children | aa514ab6f5bf |
line source
1 # SliTaz package receipt.
3 PACKAGE="emerald"
4 VERSION="0.8.12.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Window decorator for Compiz."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://github.com/compiz-reloaded"
11 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
13 DEPENDS="xorg-libX11 gtk+ libwnck compiz-core"
14 BUILD_DEPENDS="xorg-dev gtk+-dev libwnck-dev compiz-core-dev \
15 libtool autoconf automake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./autogen.sh --prefix=/usr --with-gtk=2.0 $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/share/locale
28 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
31 cp -a $install/usr/lib/libemeraldengine.so* $fs/usr/lib
32 rm -f $fs/usr/lib/$PACKAGE/*/*.*a
33 cp -a $install/usr/share/$PACKAGE $fs/usr/share
34 cp -a $install/usr/share/icons $fs/usr/share
35 # SliTaz config and theme (to move in slitaz-configs ?)
36 cp -f $stuff/settings.ini $fs/usr/share/emerald
37 cp -f $stuff/theme.ini $fs/usr/share/emerald/theme
38 cd $fs/usr/share/emerald
39 mkdir themes ; cd themes ; ln -sf ../theme SliTaz
40 mkdir default ; cd default
41 for i in `ls ../../theme/*.png`; do ln -s $i `basename $i`; done
42 cp -a $install/usr/share/emerald/theme/theme.ini .
43 }