gnu: hurd: Add Hurd headers.
* gnu/packages/hurd.scm (hurd-headers): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
dd67b429e1
commit
dc91c10f2b
|
@ -22,7 +22,9 @@
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (gnu packages flex)
|
#:use-module (gnu packages flex)
|
||||||
#:use-module (gnu packages bison))
|
#:use-module (gnu packages bison)
|
||||||
|
#:use-module (gnu packages perl)
|
||||||
|
#:use-module (gnu packages autotools))
|
||||||
|
|
||||||
(define-public gnumach-headers
|
(define-public gnumach-headers
|
||||||
(package
|
(package
|
||||||
|
@ -86,3 +88,43 @@ and to compile the GNU C library for the Hurd. Also,you will need it
|
||||||
for other software in the GNU system that uses Mach-based inter-process
|
for other software in the GNU system that uses Mach-based inter-process
|
||||||
communication.")
|
communication.")
|
||||||
(license gpl2+)))
|
(license gpl2+)))
|
||||||
|
|
||||||
|
(define-public hurd-headers
|
||||||
|
(package
|
||||||
|
(name "hurd-headers")
|
||||||
|
(version "0.5")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://gnu/hurd/hurd-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0lvkz3r0ngb4bsn2hzdc9vjpyrfa3ls36jivrvy1n7f7f55zan7q"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(native-inputs
|
||||||
|
`(;; Autoconf shouldn't be necessary but there seems to be a bug in the
|
||||||
|
;; build system triggering its use.
|
||||||
|
("autoconf" ,autoconf)
|
||||||
|
|
||||||
|
("mig" ,mig)))
|
||||||
|
(arguments
|
||||||
|
`(#:phases (alist-replace
|
||||||
|
'install
|
||||||
|
(lambda _
|
||||||
|
(zero? (system* "make" "install-headers" "no_deps=t")))
|
||||||
|
(alist-delete 'build %standard-phases))
|
||||||
|
|
||||||
|
#:configure-flags '(;; Pretend we're on GNU/Hurd; 'configure' wants
|
||||||
|
;; that.
|
||||||
|
"--host=i686-pc-gnu"
|
||||||
|
|
||||||
|
;; Reduce set of dependencies.
|
||||||
|
"--without-parted")
|
||||||
|
|
||||||
|
#:tests? #f))
|
||||||
|
(home-page "http://www.gnu.org/software/hurd/hurd.html")
|
||||||
|
(synopsis "GNU Hurd headers")
|
||||||
|
(description
|
||||||
|
"This package provides C headers of the GNU Hurd, used to build the GNU C
|
||||||
|
Library and other user programs.")
|
||||||
|
(license gpl2+)))
|
||||||
|
|
Loading…
Reference in New Issue