wok-next view screenlets/receipt @ rev 20569

Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 07:14:16 2018 +0300 (2018-04-13)
parents 7390f8de9846
children 6e83df33a44f
line source
1 # SliTaz package receipt v2.
3 PACKAGE="screenlets"
4 VERSION="0.1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Desktop widgets framework"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://screenlets.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="python-dev gettext"
16 compile_rules() {
17 python setup.py install --root=$install || return 1
19 mkdir -p $install/etc/screenlets/
20 echo '/usr' > $install/etc/screenlets/prefix
21 }
23 genpkg_rules() {
24 copy @std
25 DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop \
26 dbus-python gnome-icon-theme"
27 }
29 post_install() {
30 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
31 }
33 post_remove() {
34 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
35 }