gnu: Add libelf.
* gnu/packages/gcc.scm (libelf): New variable.
This commit is contained in:
parent
832abc7687
commit
5c126b645e
|
@ -211,3 +211,31 @@ matters. While the user has full control on generated code quality,
|
||||||
CLooG is designed to avoid control overhead and to produce a very
|
CLooG is designed to avoid control overhead and to produce a very
|
||||||
effective code.")
|
effective code.")
|
||||||
(license gpl2+)))
|
(license gpl2+)))
|
||||||
|
|
||||||
|
(define-public libelf
|
||||||
|
(package
|
||||||
|
(name "libelf")
|
||||||
|
(version "0.8.13")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "http://www.mr511.de/software/libelf-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0vf7s9dwk2xkmhb79aigqm0x0yfbw1j0b9ksm51207qwr179n6jr"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments '(#:phases (alist-replace
|
||||||
|
'configure
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
;; This old `configure' script doesn't support
|
||||||
|
;; variables passed as arguments.
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(setenv "CONFIG_SHELL" (which "bash"))
|
||||||
|
(zero?
|
||||||
|
(system* "./configure"
|
||||||
|
(string-append "--prefix=" out)))))
|
||||||
|
%standard-phases)))
|
||||||
|
(home-page "http://www.mr511.de/software/english.html")
|
||||||
|
(synopsis "An ELF object file access library")
|
||||||
|
(description "libelf is a C library to access ELF object files.")
|
||||||
|
(license lgpl2.0+)))
|
||||||
|
|
Loading…
Reference in New Issue