gnu: Add ncurses-with-gpm.

* gnu/packages/linux.scm (ncurses/gpm): New variable.
This commit is contained in:
Danny Milosavljevic 2017-07-05 22:31:03 +02:00
parent da83f0953a
commit 87ffa416af
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 12 additions and 0 deletions

View File

@ -3013,6 +3013,18 @@ applications running on the Linux console. It allows users to select items
and copy/paste text in the console and in xterm.")
(license license:gpl2+)))
(define-public ncurses/gpm
(package/inherit ncurses
(name "ncurses-with-gpm")
(arguments
(substitute-keyword-arguments (package-arguments ncurses)
((#:configure-flags cf)
`(cons (string-append "--with-gpm="
(assoc-ref %build-inputs "gpm")
"/lib/libgpm.so.2") ,cf))))
(inputs
`(("gpm" ,gpm)))))
(define-public btrfs-progs
(package
(name "btrfs-progs")