mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-23 02:36:40 +01:00
gnu: pcb-rnd: Update to 3.1.0.
* gnu/packages/engineering.scm (pcb-rnd): Update to 3.1.0. [inputs]: Add librnd. [arguments]: Use gexp; set LIBRND_PREFIX.
This commit is contained in:
parent
eacd68aa44
commit
8fb1edcceb
1 changed files with 17 additions and 13 deletions
|
@ -511,26 +511,30 @@ (define-public pcb
|
||||||
(define-public pcb-rnd
|
(define-public pcb-rnd
|
||||||
(package (inherit pcb)
|
(package (inherit pcb)
|
||||||
(name "pcb-rnd")
|
(name "pcb-rnd")
|
||||||
(version "2.2.4")
|
(version "3.1.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://repo.hu/projects/pcb-rnd/releases/"
|
(uri (string-append "http://repo.hu/projects/pcb-rnd/releases/"
|
||||||
"pcb-rnd-" version ".tar.gz"))
|
"pcb-rnd-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"06ylc2rd4yvzp3krk62q9dbi13h0yq1x257fbjkh10vfjn0ga5c2"))))
|
"0yw4sf4qrmmai48f3f5byn2fphc453myjszh3sy9z0dnfcz3x7fw"))))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no check target
|
(list
|
||||||
#:phases
|
#:tests? #false ;no check target
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'cc-is-gcc
|
#~(modify-phases %standard-phases
|
||||||
(lambda _ (setenv "CC" "gcc") #t))
|
(add-after 'unpack 'cc-is-gcc
|
||||||
(replace 'configure
|
(lambda _ (setenv "CC" "gcc")))
|
||||||
;; The configure script doesn't tolerate most of our configure flags.
|
(replace 'configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
;; The configure script doesn't tolerate most of our configure flags.
|
||||||
(invoke "sh" "configure"
|
(lambda _
|
||||||
(string-append "--prefix="
|
(setenv "LIBRND_PREFIX" #$(this-package-input "librnd"))
|
||||||
(assoc-ref outputs "out"))))))))
|
(invoke "sh" "configure"
|
||||||
|
(string-append "--prefix=" #$output)))))))
|
||||||
|
(inputs
|
||||||
|
(modify-inputs (package-inputs pcb)
|
||||||
|
(append librnd)))
|
||||||
(home-page "http://repo.hu/projects/pcb-rnd/")
|
(home-page "http://repo.hu/projects/pcb-rnd/")
|
||||||
(description "PCB RND is a fork of the GNU PCB circuit board editing tool
|
(description "PCB RND is a fork of the GNU PCB circuit board editing tool
|
||||||
featuring various improvements and bug fixes.")))
|
featuring various improvements and bug fixes.")))
|
||||||
|
|
Loading…
Reference in a new issue