wok-6.x view xfce4-ristretto/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents 572ba6d43bbb
children 7e717a0e0e6d
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-ristretto"
4 VERSION="0.0.93"
5 CATEGORY="x-window"
6 SHORT_DESC="Picture-viewer for Xfce "
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="ristretto"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://goodies.xfce.org/projects/applications/ristretto"
12 WGET_URL="http://archive.xfce.org/src/apps/$SOURCE/${VERSION%.*}/$TARBALL"
14 DEPENDS="libxfce4util libxfce4ui libexif dbus-glib thunar gamin xfconf"
15 BUILD_DEPENDS="xfce4-dev-tools intltool libexif-dev dbus-glib-dev libxfce4util-dev \
16 libxfce4ui-dev xfconf-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure && make && make 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 $install/usr/bin $fs/usr
33 cp -a $install/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor
34 cp -a $install/usr/share/icons/hicolor/22* $fs/usr/share/icons/hicolor
35 cp -a $install/usr/share/icons/hicolor/32* $fs/usr/share/icons/hicolor
36 ln -s /usr/share/icons/hicolor/32x32/apps/$SOURCE.png $fs/usr/share/pixmaps/$SOURCE.png
37 }
39 post_install()
40 {
41 echo "Execute post-install command"
42 gtk-update-icon-cache -f -t -q $1/usr/share/icons/hicolor
43 }