wok-current view mate-system-monitor/receipt @ rev 16989

mate-system-monitor: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 09 09:15:22 2014 +0000 (2014-08-09)
parents f4ea5dc8f805
children e863f2041090
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-system-monitor"
4 VERSION="1.9.0"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="MATE's system monitor."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
13 DEPENDS="dconf dbus-glib gtk+ libgtop libwnck librsvg"
14 BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
15 gtk+-dev gtk-doc dbus-glib-dev glibmm-dev gtkmm-dev libgtop-dev libwnck-dev librsvg-dev \
16 yelp-tools mate-common-dev mate-icon-theme"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./autogen.sh \
22 --prefix=/usr \
23 --libexecdir=/usr/lib/$PACKAGE \
24 --with-gtk=2.0 \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/glib-2.0 $fs/usr/share
36 }
38 # Post install/remove commands for Tazpkg.
39 post_install()
40 {
41 echo "Processing post-install commands..."
42 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
43 }
45 post_remove()
46 {
47 echo "Processing post-remove commands..."
48 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
49 }