wok view xfce4-ristretto/receipt @ rev 5055

libdevmapper: reconfigure udev after addition of new rule
author Rohit Joshi <jozee@slitaz.org>
date Sat Mar 06 19:02:39 2010 +0000 (2010-03-06)
parents 84b151dde513
children 5c10ad52be12
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-ristretto"
4 VERSION="0.0.22"
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"
10 SOURCE="ristretto"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://goodies.xfce.org/projects/applications/ristretto"
13 WGET_URL="http://goodies.xfce.org/releases/ristretto/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr \
31 $fs/usr/share/icons/hicolor \
32 $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor
36 cp -a $_pkg/usr/share/icons/hicolor/22* $fs/usr/share/icons/hicolor
37 cp -a $_pkg/usr/share/icons/hicolor/32* $fs/usr/share/icons/hicolor
39 cd $fs/usr/share/pixmaps ; ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
40 }
42 post_install()
43 {
44 echo "Execute post-install command"
45 gtk-update-icon-cache -f -t -q $1/usr/share/icons/hicolor
46 }