wok-current annotate xfce4-ristretto/receipt @ rev 6940

Up: slitaz-mercurial-style (2.1) with correct logo
author Christophe Lincoln <pankso@slitaz.org>
date Sun Oct 24 22:52:43 2010 +0200 (2010-10-24)
parents 413b0174114a
children 91b1096c3854
rev   line source
erjo@4867 1 # SliTaz package receipt.
erjo@4867 2
erjo@4867 3 PACKAGE="xfce4-ristretto"
erjo@5847 4 VERSION="0.0.91"
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"
erjo@5847 9 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libexif-dev dbus-glib-dev thunar-dev xfce4-dev-tools"
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"
erjo@5847 13 WGET_URL="http://git.xfce.org/apps/ristretto/snapshot/$TARBALL"
erjo@5847 14 #WGET_URL="http://goodies.xfce.org/releases/ristretto/$TARBALL"
erjo@4867 15
erjo@4867 16 # Rules to configure and make the package.
erjo@4867 17 compile_rules()
erjo@4867 18 {
erjo@4867 19 cd $src
erjo@5847 20
erjo@5847 21 ./autogen.sh --prefix=/usr
erjo@4867 22 make && make DESTDIR=$PWD/_pkg install
erjo@4867 23 }
erjo@4867 24
erjo@4867 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4867 26 genpkg_rules()
erjo@4867 27 {
erjo@4867 28 mkdir -p $fs/usr \
erjo@4867 29 $fs/usr/share/icons/hicolor \
erjo@4867 30 $fs/usr/share/pixmaps
erjo@4867 31
erjo@4867 32 cp -a $_pkg/usr/bin $fs/usr
erjo@4867 33 cp -a $_pkg/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor
erjo@4867 34 cp -a $_pkg/usr/share/icons/hicolor/22* $fs/usr/share/icons/hicolor
erjo@4867 35 cp -a $_pkg/usr/share/icons/hicolor/32* $fs/usr/share/icons/hicolor
erjo@4867 36
erjo@4867 37 cd $fs/usr/share/pixmaps ; ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
erjo@4867 38 }
erjo@4867 39
erjo@4867 40 post_install()
erjo@4867 41 {
erjo@4867 42 echo "Execute post-install command"
erjo@4867 43 gtk-update-icon-cache -f -t -q $1/usr/share/icons/hicolor
erjo@4867 44 }
erjo@4867 45