wok-4.x view xfce4-ristretto/receipt @ rev 9421
p7zip-full: Fix path in scripts
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Mar 30 20:42:02 2011 +0200 (2011-03-30) |
parents | 5c10ad52be12 |
children | 572ba6d43bbb |
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 DEPENDS="libxfce4util libxfcegui4 libexif dbus-glib thunar gamin"
9 BUILD_DEPENDS="xfce4-dev-tools intltool"
10 SOURCE="ristretto"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://goodies.xfce.org/projects/applications/ristretto"
13 WGET_URL="http://archive.xfce.org/src/apps/$SOURCE/${VERSION%.*}/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure && make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr \
26 $fs/usr/share/icons/hicolor \
27 $fs/usr/share/pixmaps
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor
31 cp -a $_pkg/usr/share/icons/hicolor/22* $fs/usr/share/icons/hicolor
32 cp -a $_pkg/usr/share/icons/hicolor/32* $fs/usr/share/icons/hicolor
33 ln -s /usr/share/icons/hicolor/32x32/apps/$SOURCE.png $fs/usr/share/pixmaps/$SOURCE.png
34 }
36 post_install()
37 {
38 echo "Execute post-install command"
39 gtk-update-icon-cache -f -t -q $1/usr/share/icons/hicolor
40 }