wok-6.x annotate xfce4-ristretto/receipt @ rev 4867

Add: xfce4-ristretto
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 04 22:33:41 2010 +0100 (2010-02-04)
parents
children 413b0174114a
rev   line source
erjo@4867 1 # SliTaz package receipt.
erjo@4867 2
erjo@4867 3 PACKAGE="xfce4-ristretto"
erjo@4867 4 VERSION="0.0.22"
erjo@4867 5 CATEGORY="x-window"
erjo@4867 6 SHORT_DESC="Picture-viewer for Xfce "
erjo@4867 7 MAINTAINER="erjo@slitaz.org"
erjo@4867 8 DEPENDS="libxfce4util libxfcegui4 libexif dbus-glib thunar"
erjo@4867 9 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libexif-dev dbus-glib-dev thunar-dev"
erjo@4867 10 SOURCE="ristretto"
erjo@4867 11 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@4867 12 WEB_SITE="http://goodies.xfce.org/projects/applications/ristretto"
erjo@4867 13 WGET_URL="http://goodies.xfce.org/releases/ristretto/$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
erjo@4867 19 ./configure \
erjo@4867 20 --prefix=/usr \
erjo@4867 21 --infodir=/usr/share/info \
erjo@4867 22 --mandir=/usr/share/man \
erjo@4867 23 $CONFIGURE_ARGS &&
erjo@4867 24 make && make DESTDIR=$PWD/_pkg install
erjo@4867 25 }
erjo@4867 26
erjo@4867 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4867 28 genpkg_rules()
erjo@4867 29 {
erjo@4867 30 mkdir -p $fs/usr \
erjo@4867 31 $fs/usr/share/icons/hicolor \
erjo@4867 32 $fs/usr/share/pixmaps
erjo@4867 33
erjo@4867 34 cp -a $_pkg/usr/bin $fs/usr
erjo@4867 35 cp -a $_pkg/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor
erjo@4867 36 cp -a $_pkg/usr/share/icons/hicolor/22* $fs/usr/share/icons/hicolor
erjo@4867 37 cp -a $_pkg/usr/share/icons/hicolor/32* $fs/usr/share/icons/hicolor
erjo@4867 38
erjo@4867 39 cd $fs/usr/share/pixmaps ; ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
erjo@4867 40 }
erjo@4867 41
erjo@4867 42 post_install()
erjo@4867 43 {
erjo@4867 44 echo "Execute post-install command"
erjo@4867 45 gtk-update-icon-cache -f -t -q $1/usr/share/icons/hicolor
erjo@4867 46 }
erjo@4867 47