wok-6.x view screenlets/receipt @ rev 16786
Add softether
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 27 13:13:18 2014 +0200 (2014-06-27) |
parents | b994d2c0f802 |
children | 7390f8de9846 |
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 dbus-python gnome-icon-theme"
14 BUILD_DEPENDS="python-dev wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 echo "Processing post-install commands..."
38 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
39 }
41 post_remove()
42 {
43 echo "Processing post-remove commands..."
44 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
45 }