# Template build file for 'gkrellm'.
pkgname=gkrellm
version=2.3.2
revision=1
distfiles="http://members.dslextreme.com/users/billw/gkrellm/$pkgname-$version.tar.bz2"
build_style=gnu_makefile
make_install_args="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version/usr
 MANDIR=$XBPS_DESTDIR/$pkgname-$version/usr/share/man/man1"
short_desc="GTK2 based system monitor"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=a102e681cbcc45f8cb225ca0a321b62772106d6f0bb372eaa026b5a2da840873
long_desc="
 With a single process, GKrellM manages multiple stacked monitors and supports
 applying themes to match the monitors appearance to your window manager,
 Gtk, or any other theme.

  * SMP CPU, Disk, Proc, and active net interface monitors with LEDs.
  * Internet monitor that displays current and charts historical port hits
  * Memory and swap space usage meters and a system uptime monitor.
  * File system meters show capacity/free space and can mount/umount.
  * A mailbox monitor which can launch mail reader, remote mail fetch.
  * Clock/calendar and hostname display.
  * APM laptop battery monitor.
  * CPU/motherboard temperature display if lm_sensors modules installed.
  * Multiple monitors managed by a single process to reduce system load.
  * Charts are autoscaling with configurable grid line resolution, or
    can be set to a fixed scale mode.
  * Separate colors for "in" and "out" data.  The in color is used for
    CPU user time, disk read, forks, and net receive data.  The out color
    is used for CPU sys time, disk write, load, and net transmit data.
  * GKrellM is plugin capable so special interest monitors can be created.
  * A different theme can be created with the GIMP.
  * And a lot more..."

Add_dependency run glibc
Add_dependency run atk
Add_dependency run glib
Add_dependency run pango
Add_dependency run gdk-pixbuf
Add_dependency run cairo
Add_dependency run libpng
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run libSM
Add_dependency run libICE
Add_dependency run libssl
Add_dependency run libX11
Add_dependency run gtk+
Add_dependency run libsensors

Add_dependency build pkg-config
Add_dependency build atk-devel
Add_dependency build glib-devel
Add_dependency build pango-devel
Add_dependency build gdk-pixbuf-devel
Add_dependency build cairo-devel
Add_dependency build libpng-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build libSM-devel
Add_dependency build libICE-devel
Add_dependency build openssl-devel
Add_dependency build libX11-devel
Add_dependency build gtk+-devel
Add_dependency build libsensors-devel
