wok diff screenlets/receipt @ rev 13174
Up: libxml2 to 2.8.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jul 30 04:45:09 2012 +0000 (2012-07-30) |
parents | |
children | 380ffe05937a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/screenlets/receipt Mon Jul 30 04:45:09 2012 +0000 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="screenlets" 1.7 +VERSION="0.1.6" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Desktop widgets framework." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://screenlets.org" 1.13 +WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL" 1.14 + 1.15 +DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop dbus-python gnome-icon-theme" 1.16 +BUILD_DEPENDS="python-dev wget" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + python setup.py install --root=$install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/share/icons $fs/etc/screenlets 1.29 + cp -a $install/usr/bin $fs/usr 1.30 + cp -a $install/usr/lib $fs/usr 1.31 + cp -a $install/usr/share/screenlets* $fs/usr/share 1.32 + cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons 1.33 + echo '/usr' > $fs/etc/screenlets/prefix 1.34 +} 1.35 + 1.36 +# Post install/remove commands for Tazpkg. 1.37 +post_install() 1.38 +{ 1.39 + echo "Processing post-install commands..." 1.40 + chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache 1.41 +} 1.42 + 1.43 +post_remove() 1.44 +{ 1.45 + echo "Processing post-remove commands..." 1.46 + chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache 1.47 +} 1.48 + 1.49 +