gnu: Use 'modify-phases' syntax.
[jackhill/guix/guix.git] / gnu / packages / gkrellm.scm
CommitLineData
21252596
AE
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3a66217f 3;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
21252596
AE
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)
b5b73a82 21 #:use-module ((guix licenses) #:prefix license:)
21252596
AE
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
1dba6407 25 #:use-module (gnu packages gettext)
21252596
AE
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)
3a66217f 37 (uri (string-append "http://gkrellm.srcbox.net/releases/gkrellm-"
21252596
AE
38 version ".tar.bz2"))
39 (sha256
40 (base32
41 "12rc6zaa7kb60b9744lbrlfkxxfniprm6x0mispv63h4kh75navh"))))
42 (build-system gnu-build-system)
43 (inputs
b94a6ca0 44 `(("gettext" ,gettext-minimal)
8b0275b6 45 ("gtk+" ,gtk+-2)
21252596
AE
46 ("libice" ,libice)
47 ("libsm" ,libsm)))
48 (native-inputs
49 `(("pkg-config" ,pkg-config)))
50 (arguments
51 `(#:tests? #f ; there is no check target
dc1d3cde 52 #:phases (modify-phases %standard-phases (delete 'configure))
21252596
AE
53 #:make-flags
54 (let ((out (assoc-ref %outputs "out")))
55 (list (string-append "INSTALLROOT=" out)
56 "CC=gcc"
57 "X11_LIBS = -lX11 -lSM -lICE -lgmodule-2.0"))))
3a66217f 58 (home-page "http://gkrellm.srcbox.net/")
21252596
AE
59 (synopsis "System monitors")
60 (description
61 "GKrellM is a single process stack of system monitors which supports
62applying themes to match its appearance to your window manager, Gtk, or any
63other theme.")
64 (license license:gpl3+)))