wok-current annotate xfce4-ristretto/receipt @ rev 15584
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 30 17:02:58 2013 +0000 (2013-11-30) |
parents | 572ba6d43bbb |
children | 7e717a0e0e6d |
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" |
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 |
pascal@15000 | 34 cp -a $install/usr/share/icons/hicolor/22* $fs/usr/share/icons/hicolor |
pascal@15000 | 35 cp -a $install/usr/share/icons/hicolor/32* $fs/usr/share/icons/hicolor |
slaxemulator@9018 | 36 ln -s /usr/share/icons/hicolor/32x32/apps/$SOURCE.png $fs/usr/share/pixmaps/$SOURCE.png |
erjo@4867 | 37 } |
erjo@4867 | 38 |
erjo@4867 | 39 post_install() |
erjo@4867 | 40 { |
erjo@4867 | 41 echo "Execute post-install command" |
erjo@4867 | 42 gtk-update-icon-cache -f -t -q $1/usr/share/icons/hicolor |
erjo@4867 | 43 } |
erjo@4867 | 44 |