wok view screenlets/receipt @ rev 20524
linld: fix reset_bufv
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 06 13:32:05 2018 +0100 (2018-11-06) |
parents | 7390f8de9846 |
children | 9b3e5f996086 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://screenlets.org"
11 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
13 DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop \
14 dbus-python gnome-icon-theme"
15 BUILD_DEPENDS="python-dev wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/icons $fs/etc/screenlets
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 cp -a $install/usr/share/screenlets* $fs/usr/share
30 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
31 echo '/usr' > $fs/etc/screenlets/prefix
32 }
34 # Post install/remove commands for Tazpkg.
35 post_install()
36 {
37 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
38 }
40 post_remove()
41 {
42 [ -x "$1/usr/bin/gdk-pixbuf-query-loaders" ] &&
43 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
44 }