summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigko Yerden <nigko.yerden@gmail.com>2025-07-03 12:42:03 +0500
committerEfraim Flashner <efraim@flashner.co.il>2025-07-03 12:39:33 +0300
commit36deb37a56523b7d6c917169d94b392bddf215bf (patch)
treeb473446b8fd4b8991dd3fb0ac6114554b4e93fd4
parent18806bc0d00e68745b36d33813d3715ddc599955 (diff)
gnu: dialog: Build shared library.
* gnu/packages/ncurses.scm (dialog)[arguments]: Add configure flags and a new phase to install shared library. [description]: Add a mention of the library. Change-Id: I884ef837eeb7c9abf2b381d7a6b2be20dc00ed78 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/ncurses.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/ncurses.scm b/gnu/packages/ncurses.scm
index b57ec56865..1aad590674 100644
--- a/gnu/packages/ncurses.scm
+++ b/gnu/packages/ncurses.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2017, 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2025 Nigko Yerden <nigko.yerden@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -266,11 +267,17 @@ ncursesw library provides wide character support.")
(base32
"0riqmp2xl2j2yxx69nyg8jbm2fyi5fp4clcf6zi5jfm3irn3l8y9"))))
(build-system gnu-build-system)
+ (arguments
+ (list #:configure-flags #~'("--with-shared" "--enable-rpath")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'install 'install-lib
+ (lambda _
+ (invoke "make" "install-lib"))))))
(inputs
(list ncurses))
(synopsis "Curses widgets")
- (description "Dialog is a script-interpreter which provides a set of
-curses widgets, such as dialog boxes.")
+ (description "Dialog is a script-interpreter and a library which provides
+a set of curses widgets, such as dialog boxes.")
(home-page "https://invisible-island.net/dialog/dialog.html")
(license lgpl2.1)))