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