wok annotate xfce4-ristretto/receipt @ rev 18723
chntpw: new version 140201
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri Dec 18 12:30:40 2015 +0000 (2015-12-18) |
parents | 380ffe05937a |
children | 9e01bc6321ea |
rev | line source |
---|---|
erjo@4867 | 1 # SliTaz package receipt. |
erjo@4867 | 2 |
erjo@4867 | 3 PACKAGE="xfce4-ristretto" |
devl547@16302 | 4 VERSION="0.6.3" |
erjo@4867 | 5 CATEGORY="x-window" |
erjo@4867 | 6 SHORT_DESC="Picture-viewer for Xfce " |
erjo@4867 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@4867 | 9 SOURCE="ristretto" |
erjo@5847 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@4867 | 11 WEB_SITE="http://goodies.xfce.org/projects/applications/ristretto" |
slaxemulator@9018 | 12 WGET_URL="http://archive.xfce.org/src/apps/$SOURCE/${VERSION%.*}/$TARBALL" |
erjo@4867 | 13 |
erjo@9876 | 14 DEPENDS="libxfce4util libxfce4ui libexif dbus-glib thunar gamin xfconf" |
erjo@9876 | 15 BUILD_DEPENDS="xfce4-dev-tools intltool libexif-dev dbus-glib-dev libxfce4util-dev \ |
erjo@9876 | 16 libxfce4ui-dev xfconf-dev" |
erjo@9876 | 17 |
erjo@4867 | 18 # Rules to configure and make the package. |
erjo@4867 | 19 compile_rules() |
erjo@4867 | 20 { |
erjo@4867 | 21 cd $src |
slaxemulator@9018 | 22 ./configure && make && make install |
erjo@4867 | 23 } |
erjo@4867 | 24 |
erjo@4867 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4867 | 26 genpkg_rules() |
erjo@4867 | 27 { |
erjo@4867 | 28 mkdir -p $fs/usr \ |
erjo@4867 | 29 $fs/usr/share/icons/hicolor \ |
erjo@4867 | 30 $fs/usr/share/pixmaps |
erjo@4867 | 31 |
pascal@15000 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 33 cp -a $install/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor |
devl547@16302 | 34 cp -a $install/usr/share/icons/hicolor/48* $fs/usr/share/icons/hicolor |
devl547@16302 | 35 ln -s /usr/share/icons/hicolor/48x48/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 |