wok-next view emerald/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-24) |
parents | 989b3e4da12b |
children | 835b3b8ce6ac |
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+ libwnck2 compiz-core"
14 BUILD_DEPENDS="xorg-dev gtk+-dev libwnck2-dev compiz-core-dev \
15 libtool autoconf automake intltool"
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 }