~ruther/guix-local

36deb37a56523b7d6c917169d94b392bddf215bf — Nigko Yerden 1 year, 1 month ago 18806bc
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>
1 files changed, 9 insertions(+), 2 deletions(-)

M gnu/packages/ncurses.scm
M gnu/packages/ncurses.scm => gnu/packages/ncurses.scm +9 -2
@@ 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)))