wok view emerald/receipt @ rev 15845
dosfstools: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 11:23:53 2014 +0000 (2014-01-27) |
parents | e666c5086b54 |
children | 533c0cab6960 |
line source
1 # SliTaz package receipt.
3 PACKAGE="emerald"
4 VERSION="0.9.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.bz2"
10 WEB_SITE="http://www.compiz.org"
11 WGET_URL="http://cgit.compiz.org/fusion/decorators/emerald/snapshot/$TARBALL"
13 DEPENDS="xorg-libX11 gtk+ libwnck compiz-core"
14 BUILD_DEPENDS="xorg-dev gtk+-dev libwnck-dev compiz-core-dev autoconf \
15 automake libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share
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/mime* $fs/usr/share
35 cp -a $install/usr/share/pixmaps $fs/usr/share
36 # SliTaz config and theme (to move in slitaz-configs ?)
37 cp -f $stuff/settings.ini $fs/usr/share/emerald
38 cp -f $stuff/theme.ini $fs/usr/share/emerald/theme
39 }