wok-current view screenlets/receipt @ rev 23856
codeblocks: use wxWidgets and gcc49
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Jun 16 23:39:15 2020 -0400 (2020-06-16) |
parents | 9b3e5f996086 |
children | 86c657b651d4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="screenlets"
4 VERSION="0.1.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Desktop widgets framework."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://launchpad.net/screenlets/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
14 DEPENDS="beautifulsoup dbus-python gnome-icon-theme gnome-python-desktop \
15 pygtk python python-xdg"
16 BUILD_DEPENDS="python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/icons
28 mkdir -p $fs/etc/screenlets
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/usr/share/screenlets* $fs/usr/share
33 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
34 echo '/usr' > $fs/etc/screenlets/prefix
35 }
37 # Post install/remove commands for Tazpkg.
38 post_install()
39 {
40 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
41 }
43 post_remove()
44 {
45 [ -x "$1/usr/bin/gdk-pixbuf-query-loaders" ] &&
46 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
47 }