68853eb8fc8346376423574ecfca67d97ea24849
[jackhill/guix/guix.git] / gnu / packages / gkrellm.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
4 ;;;
5 ;;; This file is part of GNU Guix.
6 ;;;
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
11 ;;;
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
16 ;;;
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
20 (define-module (gnu packages gkrellm)
21 #:use-module ((guix licenses) #:prefix license:)
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages gettext)
26 #:use-module (gnu packages gtk)
27 #:use-module (gnu packages pkg-config)
28 #:use-module (gnu packages xorg))
29
30 (define-public gkrellm
31 (package
32 (name "gkrellm")
33 (version "2.3.5")
34 (source
35 (origin
36 (method url-fetch)
37 (uri (string-append "http://gkrellm.srcbox.net/releases/gkrellm-"
38 version ".tar.bz2"))
39 (sha256
40 (base32
41 "12rc6zaa7kb60b9744lbrlfkxxfniprm6x0mispv63h4kh75navh"))))
42 (build-system gnu-build-system)
43 (inputs
44 `(("gettext" ,gettext-minimal)
45 ("gtk+" ,gtk+-2)
46 ("libice" ,libice)
47 ("libsm" ,libsm)))
48 (native-inputs
49 `(("pkg-config" ,pkg-config)))
50 (arguments
51 `(#:tests? #f ; there is no check target
52 #:phases
53 (alist-delete
54 'configure
55 %standard-phases)
56 #:make-flags
57 (let ((out (assoc-ref %outputs "out")))
58 (list (string-append "INSTALLROOT=" out)
59 "CC=gcc"
60 "X11_LIBS = -lX11 -lSM -lICE -lgmodule-2.0"))))
61 (home-page "http://gkrellm.srcbox.net/")
62 (synopsis "System monitors")
63 (description
64 "GKrellM is a single process stack of system monitors which supports
65 applying themes to match its appearance to your window manager, Gtk, or any
66 other theme.")
67 (license license:gpl3+)))