This build system is an extension to the binary-build-system, designed
to abstract some common boilerplate necessary for packaging Chromium
based software.
* nonguix/build-system/chromium-binary.scm: New file;
* nonguix/build/chromium-binary-build-system.scm: new file;
* nonguix/build/utils.scm (build-paths-for-input): new variable;
(build-paths-from-inputs): New variable.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Follow up to a0079cf1bd.
* nonguix/build/binary-build-system.scm (patchelf)[make-rpath]: Use 'name'
instead of undefined 'input-or-output'.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Makes it possible to define entries like the following in the patchelf-plan:
("the-binary" ("glibc" ("nss" "/lib/nss")))
* nonguix/build/binary-build-system.scm (maybe-make-rpath, make-rpath):
New functions and use them.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nonguix/build-system/binary.scm (lower): Adapt the default value of the
install plan.
* nonguix/build/binary-build-system.scm (new-install): New procedure.
(old-install): Rename former `install' procedure to this.
(install): New procedure that dispatches over old-install and new-install.
* nonguix/build-system/binary.scm: New file.
* nonguix/build/binary-build-system.scm: New file.
* nonguix/build/utils.scm: New file.
* nonguix/utils.scm: New file.