wok-stable view xfce4-ristretto/receipt @ rev 7572

Up: whois to 5.0.10.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 09 11:22:50 2010 +0000 (2010-12-09)
parents 413b0174114a
children 91b1096c3854
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-ristretto"
4 VERSION="0.0.91"
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="libxfce4util-dev libxfcegui4-dev libexif-dev dbus-glib-dev thunar-dev xfce4-dev-tools"
10 SOURCE="ristretto"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://goodies.xfce.org/projects/applications/ristretto"
13 WGET_URL="http://git.xfce.org/apps/ristretto/snapshot/$TARBALL"
14 #WGET_URL="http://goodies.xfce.org/releases/ristretto/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 ./autogen.sh --prefix=/usr
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr \
29 $fs/usr/share/icons/hicolor \
30 $fs/usr/share/pixmaps
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor
34 cp -a $_pkg/usr/share/icons/hicolor/22* $fs/usr/share/icons/hicolor
35 cp -a $_pkg/usr/share/icons/hicolor/32* $fs/usr/share/icons/hicolor
37 cd $fs/usr/share/pixmaps ; ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
38 }
40 post_install()
41 {
42 echo "Execute post-install command"
43 gtk-update-icon-cache -f -t -q $1/usr/share/icons/hicolor
44 }