Merge #24232: gkrellm: 2.3.5 -> 2.3.10

This commit is contained in:
Vladimír Čunát 2017-03-23 11:53:08 +01:00
commit 50d6617e87
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,15 +1,19 @@
{ fetchurl, stdenv, gettext, pkgconfig, glib, gtk2, libX11, libSM, libICE
, IOKit ? null }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "gkrellm-2.3.5";
name = "gkrellm-2.3.10";
src = fetchurl {
url = "http://members.dslextreme.com/users/billw/gkrellm/${name}.tar.bz2";
sha256 = "12rc6zaa7kb60b9744lbrlfkxxfniprm6x0mispv63h4kh75navh";
url = "http://gkrellm.srcbox.net/releases/${name}.tar.bz2";
sha256 = "0rnpzjr0ys0ypm078y63q4aplcgdr5nshjzhmz330n6dmnxci7lb";
};
buildInputs = [gettext pkgconfig glib gtk2 libX11 libSM libICE]
++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [gettext glib gtk2 libX11 libSM libICE]
++ optionals stdenv.isDarwin [ IOKit ];
hardeningDisable = [ "format" ];
@ -22,12 +26,11 @@ stdenv.mkDerivation rec {
sed -i "$i" -e "s|/usr/X11R6|${libX11.dev}|g ; s|-lICE|-lX11 -lICE|g"
done '';
buildPhase = ''
make PREFIX="$out" '';
installPhase = ''
make install PREFIX="$out" '';
installPhase = ''
make DESTDIR=$out install
'';
meta = {
meta = {
description = "Themeable process stack of system monitors";
longDescription =
'' GKrellM is a single process stack of system monitors which supports
@ -35,10 +38,9 @@ stdenv.mkDerivation rec {
or any other theme.
'';
homepage = http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html;
license = stdenv.lib.licenses.gpl3Plus;
homepage = http://gkrellm.srcbox.net;
license = licenses.gpl3Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.unix;
platforms = platforms.unix;
};
}