wok-stable annotate xfce4-ristretto/receipt @ rev 9256

Up: tazwok 4.2.8
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 15 02:56:33 2011 +0100 (2011-03-15)
parents 5c10ad52be12
children 572ba6d43bbb
rev   line source
erjo@4867 1 # SliTaz package receipt.
erjo@4867 2
erjo@4867 3 PACKAGE="xfce4-ristretto"
slaxemulator@9018 4 VERSION="0.0.93"
erjo@4867 5 CATEGORY="x-window"
erjo@4867 6 SHORT_DESC="Picture-viewer for Xfce "
erjo@4867 7 MAINTAINER="erjo@slitaz.org"
pascal@5008 8 DEPENDS="libxfce4util libxfcegui4 libexif dbus-glib thunar gamin"
slaxemulator@9018 9 BUILD_DEPENDS="xfce4-dev-tools intltool"
erjo@4867 10 SOURCE="ristretto"
erjo@5847 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
erjo@4867 12 WEB_SITE="http://goodies.xfce.org/projects/applications/ristretto"
slaxemulator@9018 13 WGET_URL="http://archive.xfce.org/src/apps/$SOURCE/${VERSION%.*}/$TARBALL"
erjo@4867 14
erjo@4867 15 # Rules to configure and make the package.
erjo@4867 16 compile_rules()
erjo@4867 17 {
erjo@4867 18 cd $src
slaxemulator@9018 19 ./configure && make && make install
erjo@4867 20 }
erjo@4867 21
erjo@4867 22 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4867 23 genpkg_rules()
erjo@4867 24 {
erjo@4867 25 mkdir -p $fs/usr \
erjo@4867 26 $fs/usr/share/icons/hicolor \
erjo@4867 27 $fs/usr/share/pixmaps
erjo@4867 28
erjo@4867 29 cp -a $_pkg/usr/bin $fs/usr
erjo@4867 30 cp -a $_pkg/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor
erjo@4867 31 cp -a $_pkg/usr/share/icons/hicolor/22* $fs/usr/share/icons/hicolor
erjo@4867 32 cp -a $_pkg/usr/share/icons/hicolor/32* $fs/usr/share/icons/hicolor
slaxemulator@9018 33 ln -s /usr/share/icons/hicolor/32x32/apps/$SOURCE.png $fs/usr/share/pixmaps/$SOURCE.png
erjo@4867 34 }
erjo@4867 35
erjo@4867 36 post_install()
erjo@4867 37 {
erjo@4867 38 echo "Execute post-install command"
erjo@4867 39 gtk-update-icon-cache -f -t -q $1/usr/share/icons/hicolor
erjo@4867 40 }
erjo@4867 41