# HG changeset patch # User Yuri Pourre # Date 1407566873 10800 # Node ID f4ea5dc8f8055051c065aff5888b1c44dd8f83cb # Parent 71f86ec27151fd255fabfc0d47a8cd68e01cc1e5 Add mate-system-monitor diff -r 71f86ec27151 -r f4ea5dc8f805 mate-system-monitor/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mate-system-monitor/receipt Sat Aug 09 03:47:53 2014 -0300 @@ -0,0 +1,49 @@ +# SliTaz package receipt. + +PACKAGE="mate-system-monitor" +VERSION="1.9.0" +CATEGORY="utilities" +LICENSE="GPL3" +SHORT_DESC="MATE's system monitor." +MAINTAINER="yuripourre@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.mate-desktop.org/" +WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" + +DEPENDS="dconf dbus-glib gtk+ libgtop libwnck librsvg" +BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \ +gtk+-dev gtk-doc dbus-glib-dev glibmm-dev gtkmm-dev libgtop-dev libwnck-dev librsvg-dev \ +yelp-tools mate-common-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./autogen.sh \ + --prefix=/usr \ + --libexecdir=/usr/lib/$PACKAGE \ + --with-gtk=2.0 \ + --disable-static \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/glib-2.0 $fs/usr/share +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + echo "Processing post-install commands..." + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_remove() +{ + echo "Processing post-remove commands..." + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +}