wok-6.x view screenlets/receipt @ rev 13279

Compress modules with xz: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 20:38:53 2012 +0200 (2012-08-23)
parents
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://screenlets.org"
10 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
12 DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop dbus-python gnome-icon-theme"
13 BUILD_DEPENDS="python-dev wget"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/icons $fs/etc/screenlets
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/usr/lib $fs/usr
28 cp -a $install/usr/share/screenlets* $fs/usr/share
29 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
30 echo '/usr' > $fs/etc/screenlets/prefix
31 }
33 # Post install/remove commands for Tazpkg.
34 post_install()
35 {
36 echo "Processing post-install commands..."
37 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
38 }
40 post_remove()
41 {
42 echo "Processing post-remove commands..."
43 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
44 }