wok-current annotate screenlets/receipt @ rev 18909
Add gnubg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 22 21:29:18 2016 +0100 (2016-02-22) |
parents | 380ffe05937a |
children | 181b1bc0998b |
rev | line source |
---|---|
pascal@12973 | 1 # SliTaz package receipt. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="screenlets" |
pascal@12973 | 4 VERSION="0.1.6" |
pascal@12973 | 5 CATEGORY="system-tools" |
pascal@12973 | 6 SHORT_DESC="Desktop widgets framework." |
pascal@12973 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@12973 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@12973 | 10 WEB_SITE="http://screenlets.org" |
pascal@12973 | 11 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL" |
pascal@12973 | 12 |
al@18086 | 13 DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop \ |
al@18086 | 14 dbus-python gnome-icon-theme" |
pascal@12973 | 15 BUILD_DEPENDS="python-dev wget" |
pascal@12973 | 16 |
pascal@12973 | 17 # Rules to configure and make the package. |
pascal@12973 | 18 compile_rules() |
pascal@12973 | 19 { |
pascal@12973 | 20 python setup.py install --root=$install |
pascal@12973 | 21 } |
pascal@12973 | 22 |
pascal@12973 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 24 genpkg_rules() |
pascal@12973 | 25 { |
pascal@12973 | 26 mkdir -p $fs/usr/share/icons $fs/etc/screenlets |
pascal@12973 | 27 cp -a $install/usr/bin $fs/usr |
pascal@12973 | 28 cp -a $install/usr/lib $fs/usr |
pascal@12973 | 29 cp -a $install/usr/share/screenlets* $fs/usr/share |
pascal@12973 | 30 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons |
pascal@12973 | 31 echo '/usr' > $fs/etc/screenlets/prefix |
pascal@12973 | 32 } |
pascal@12973 | 33 |
pascal@12973 | 34 # Post install/remove commands for Tazpkg. |
pascal@12973 | 35 post_install() |
pascal@12973 | 36 { |
al@18086 | 37 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache |
pascal@12973 | 38 } |
pascal@12973 | 39 |
pascal@12973 | 40 post_remove() |
pascal@12973 | 41 { |
al@18086 | 42 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache |
pascal@12973 | 43 } |