wok-6.x annotate xfce4-ristretto/receipt @ rev 11105
Up: fetchmail to 6.3.21.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 03:03:43 2011 +0000 (2011-10-17) |
parents | 91b1096c3854 |
children | 380ffe05937a |
rev | line source |
---|---|
erjo@4867 | 1 # SliTaz package receipt. |
erjo@4867 | 2 |
erjo@4867 | 3 PACKAGE="xfce4-ristretto" |
slaxemulator@9018 | 4 VERSION="0.0.93" |
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 SOURCE="ristretto" |
erjo@5847 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@4867 | 10 WEB_SITE="http://goodies.xfce.org/projects/applications/ristretto" |
slaxemulator@9018 | 11 WGET_URL="http://archive.xfce.org/src/apps/$SOURCE/${VERSION%.*}/$TARBALL" |
erjo@4867 | 12 |
erjo@9876 | 13 DEPENDS="libxfce4util libxfce4ui libexif dbus-glib thunar gamin xfconf" |
erjo@9876 | 14 BUILD_DEPENDS="xfce4-dev-tools intltool libexif-dev dbus-glib-dev libxfce4util-dev \ |
erjo@9876 | 15 libxfce4ui-dev xfconf-dev" |
erjo@9876 | 16 |
erjo@4867 | 17 # Rules to configure and make the package. |
erjo@4867 | 18 compile_rules() |
erjo@4867 | 19 { |
erjo@4867 | 20 cd $src |
slaxemulator@9018 | 21 ./configure && make && make install |
erjo@4867 | 22 } |
erjo@4867 | 23 |
erjo@4867 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4867 | 25 genpkg_rules() |
erjo@4867 | 26 { |
erjo@4867 | 27 mkdir -p $fs/usr \ |
erjo@4867 | 28 $fs/usr/share/icons/hicolor \ |
erjo@4867 | 29 $fs/usr/share/pixmaps |
erjo@4867 | 30 |
erjo@4867 | 31 cp -a $_pkg/usr/bin $fs/usr |
erjo@4867 | 32 cp -a $_pkg/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor |
erjo@4867 | 33 cp -a $_pkg/usr/share/icons/hicolor/22* $fs/usr/share/icons/hicolor |
erjo@4867 | 34 cp -a $_pkg/usr/share/icons/hicolor/32* $fs/usr/share/icons/hicolor |
slaxemulator@9018 | 35 ln -s /usr/share/icons/hicolor/32x32/apps/$SOURCE.png $fs/usr/share/pixmaps/$SOURCE.png |
erjo@4867 | 36 } |
erjo@4867 | 37 |
erjo@4867 | 38 post_install() |
erjo@4867 | 39 { |
erjo@4867 | 40 echo "Execute post-install command" |
erjo@4867 | 41 gtk-update-icon-cache -f -t -q $1/usr/share/icons/hicolor |
erjo@4867 | 42 } |
erjo@4867 | 43 |