gnu: Add build.

* gnu/packages/build-tools.scm (build): New variable.

Co-authored-by: Raghav Gururajan <rg@raghavgururajan.name>
This commit is contained in:
Maxim Cournoyer 2020-05-05 22:01:57 -04:00
parent ac6e19b082
commit 65719505b8
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -547,3 +547,43 @@ (define-public compiledb
database file corresponding to that build, resulting in a command-line
interface similar to Bear.")
(license license:gpl3)))
(define-public build
(package
(name "build")
(version "0.3.10")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.codesynthesis.com/download/"
"build/" (version-major+minor version)
"/build-" version ".tar.bz2"))
(sha256
(base32 "1lx5rpnmsbip43zpp0a57sl5rm7pjb0y6i2si6rfglfp4p9d3z76"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list (string-append "install_prefix=" %output))
#:tests? #f
#:phases (modify-phases %standard-phases
(delete 'build)
(delete 'configure))))
(home-page "https://www.codesynthesis.com/projects/build/")
(synopsis "Massively-parallel build system implemented on top of GNU make")
(description "Build is a massively-parallel software build system
implemented on top of GNU Make, designed with the following tasks in mind:
@itemize
@item configuration
@item building
@item testing
@item installation
@end itemize
Build has features such as:
@itemize
@item Position-independent makefiles.
@item Non-recursive multi-makefile include-based structure.
@item Leaf makefiles are full-fledged GNU makefiles, not just variable definitions.
@item Complete dependency graph.
@item Inter-project dependency tracking.
@item Extensible language/compiler framework.
@end itemize")
(license license:gpl2+)))