wok-current view xfce4-ristretto/receipt @ rev 14773
Up musl-libc (0.9.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 30 10:13:50 2013 +0200 (2013-06-30) |
parents | 91b1096c3854 |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-ristretto"
4 VERSION="0.0.93"
5 CATEGORY="x-window"
6 SHORT_DESC="Picture-viewer for Xfce "
7 MAINTAINER="erjo@slitaz.org"
8 SOURCE="ristretto"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://goodies.xfce.org/projects/applications/ristretto"
11 WGET_URL="http://archive.xfce.org/src/apps/$SOURCE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxfce4util libxfce4ui libexif dbus-glib thunar gamin xfconf"
14 BUILD_DEPENDS="xfce4-dev-tools intltool libexif-dev dbus-glib-dev libxfce4util-dev \
15 libxfce4ui-dev xfconf-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr \
28 $fs/usr/share/icons/hicolor \
29 $fs/usr/share/pixmaps
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor
33 cp -a $_pkg/usr/share/icons/hicolor/22* $fs/usr/share/icons/hicolor
34 cp -a $_pkg/usr/share/icons/hicolor/32* $fs/usr/share/icons/hicolor
35 ln -s /usr/share/icons/hicolor/32x32/apps/$SOURCE.png $fs/usr/share/pixmaps/$SOURCE.png
36 }
38 post_install()
39 {
40 echo "Execute post-install command"
41 gtk-update-icon-cache -f -t -q $1/usr/share/icons/hicolor
42 }