# --- ROCK-COPYRIGHT-NOTE-BEGIN --- # # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # Please add additional copyright information _after_ the line containing # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by # the ./scripts/Create-CopyPatch script. Do not edit this copyright text! # # ROCK Linux: rock-src/package/daniel/gkrellm-plugins/gkrellm-plugins.conf # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. A copy of the GNU General Public # License can be found at Documentation/COPYING. # # Many people helped and are helping developing ROCK Linux. Please # have a look at https://www.rocklinux.org/ and the Documentation/TEAM # file for details. # # --- ROCK-COPYRIGHT-NOTE-END --- . $base/package/gnome2/gnome-2.conf main() { mkdir -p $root/$prefix/share/gkrellm/themes echo "Extracting sources ..." # tar $taropt $archdir/gkrellm-gnome.tar.bz2 tar $taropt $archdir/gkrellmms-2.1.8.tar.bz2 tar $taropt $archdir/gkrellweather-0.2.7.tar.bz2 tar $taropt $archdir/gkrellm-volume-2.1.7.tar.bz2 # still 1.x versions # cd gkrellm-gnome # make PLUGIN_INSTALLDIR=$root/$prefix/lib/gkrellm/plugins CFLAGS=-I$root/$prefix/include # make install PLUGIN_INSTALLDIR=$root/$prefix/lib/gkrellm/plugins \ # CFLAGS=-I$root/$prefix/include # cd .. # cd gkrellweather-0.2.7 # make CFLAGS=-I$root/$prefix/lib/gkrellm/include # mv gkrellweather.so $root/$prefix/lib/gkrellm/plugins # mv GrabWeather $root/$prefix/bin # cd .. cd gkrellm-volume make PLUGIN_DIR=/$root/$prefix/lib/gkrellm/plugins GKRELLM_INCLUDE=-I/$prefix/include make install PLUGIN_DIR=/$root/$prefix/lib/gkrellm/plugins \ GKRELLM_INCLUDE=-I/$prefix/include cd .. cd gkrellmms patch -p1 < $confdir/gkrellmms_hotfix.diff make CFLAGS=-I/$root/$prefix/include mv gkrellmms.so /$root/$prefix/lib/gkrellm/plugins cd .. echo "Installing themes ..." cd /$root/$prefix/share/gkrellm/themes for x in eMac GothamCity AbToenAlloy-green ClockworkCobalt Glass-2 \ Matrix_Green.gkrellm get-E-blue.gkrellm BlueCyrus; do tar $taropt $archdir/$x.tar.bz2 done } autoextract=0 custmain=main