wok-current rev 16988

Add mate-system-monitor
author Yuri Pourre <yuripourre@gmail.com>
date Sat Aug 09 03:47:53 2014 -0300 (2014-08-09)
parents 71f86ec27151
children 59fad0483733
files mate-system-monitor/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mate-system-monitor/receipt	Sat Aug 09 03:47:53 2014 -0300
     1.3 @@ -0,0 +1,49 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mate-system-monitor"
     1.7 +VERSION="1.9.0"
     1.8 +CATEGORY="utilities"
     1.9 +LICENSE="GPL3"
    1.10 +SHORT_DESC="MATE's system monitor."
    1.11 +MAINTAINER="yuripourre@gmail.com"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.mate-desktop.org/"
    1.14 +WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
    1.15 +
    1.16 +DEPENDS="dconf dbus-glib gtk+ libgtop libwnck librsvg"
    1.17 +BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
    1.18 +gtk+-dev gtk-doc dbus-glib-dev glibmm-dev gtkmm-dev libgtop-dev libwnck-dev librsvg-dev \
    1.19 +yelp-tools mate-common-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	./autogen.sh                           \
    1.25 +		--prefix=/usr                  \
    1.26 +		--libexecdir=/usr/lib/$PACKAGE \
    1.27 +		--with-gtk=2.0                 \
    1.28 +		--disable-static               \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make &&
    1.31 +	make DESTDIR=$DESTDIR install
    1.32 +}
    1.33 +
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/share
    1.37 +	cp -a $install/usr/bin $fs/usr
    1.38 +	cp -a $install/usr/share/glib-2.0 $fs/usr/share
    1.39 +}
    1.40 +
    1.41 +# Post install/remove commands for Tazpkg.
    1.42 +post_install()
    1.43 +{
    1.44 +	echo "Processing post-install commands..."
    1.45 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.46 +}
    1.47 +
    1.48 +post_remove()
    1.49 +{ 
    1.50 +	echo "Processing post-remove commands..."
    1.51 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.52 +}