diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2026-02-23 15:22:12 +0100 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-02-23 15:22:15 +0100 |
| commit | c736f8c15fa0328c879d06b7ee854290a8dc2d92 (patch) | |
| tree | ef6c15284de50172789ab3f0af20ad97a4ea4b2c | |
| parent | 18898ea4e55b9ce705bf5a0bfb4ce76249769f1f (diff) | |
gnu: gnucap: Update to 20240220.
* gnu/packages/electronics.scm (gnucap): Update to 20240220.
[source]: Switch to git-fetch.
[arguments]: Update ’configure #:phase.
Change-Id: I927ba638b3802c7dc3850a1c8915a83d5c263108
| -rw-r--r-- | gnu/packages/electronics.scm | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index f48ac6bbba2..2e70907372d 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm | |||
| @@ -581,16 +581,17 @@ as well as pick-place files.") | |||
| 581 | (define-public gnucap | 581 | (define-public gnucap |
| 582 | (package | 582 | (package |
| 583 | (name "gnucap") | 583 | (name "gnucap") |
| 584 | (version "20171003") | 584 | (version "20240220") |
| 585 | (source | 585 | (source |
| 586 | (origin | 586 | (origin |
| 587 | (method url-fetch) | 587 | (method git-fetch) |
| 588 | (uri (string-append | 588 | (uri (git-reference |
| 589 | "https://git.savannah.gnu.org/cgit/gnucap.git/snapshot/gnucap-" | 589 | (url "https://git.git.savannah.gnu.org/git/gnucap.git") |
| 590 | version ".tar.gz")) | 590 | (commit version))) |
| 591 | (file-name (git-file-name name version)) | ||
| 591 | (sha256 | 592 | (sha256 |
| 592 | (base32 | 593 | (base32 |
| 593 | "16m09xa685qhj5fqq3bcgakrwnb74xhf5f7rpqkkf9fg8plzbb1g")))) | 594 | "11l5h1zvyab8zms0c6v0i379q4i6m3hzyi8r0ccy9s88mhs254v9")))) |
| 594 | (build-system gnu-build-system) | 595 | (build-system gnu-build-system) |
| 595 | (arguments | 596 | (arguments |
| 596 | (list | 597 | (list |
| @@ -598,13 +599,10 @@ as well as pick-place files.") | |||
| 598 | #~(modify-phases %standard-phases | 599 | #~(modify-phases %standard-phases |
| 599 | (replace 'configure | 600 | (replace 'configure |
| 600 | (lambda _ | 601 | (lambda _ |
| 601 | ;; Set correct rpath so that gnucap finds libgnucap.so. | 602 | (substitute* (list "lib/configure" "lib/Make1") |
| 602 | (substitute* (list "apps/configure" "lib/configure" | 603 | (("-ltermcap") "")) |
| 603 | "main/configure" "modelgen/configure") | 604 | (setenv "LDFLAGS" |
| 604 | (("LDFLAGS =") | 605 | (string-append "-Wl,-rpath=" #$output "/lib")) |
| 605 | (string-append "LDFLAGS = -Wl,-rpath=" #$output "/lib"))) | ||
| 606 | ;; gnucap uses a hand-written configure script that expects the | ||
| 607 | ;; --prefix argument to be the first argument passed to it. | ||
| 608 | (invoke "./configure" (string-append "--prefix=" #$output)))) | 606 | (invoke "./configure" (string-append "--prefix=" #$output)))) |
| 609 | (replace 'check | 607 | (replace 'check |
| 610 | ;; Attention: As discussed, a failing test in gnucap does not mean | 608 | ;; Attention: As discussed, a failing test in gnucap does not mean |
