mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: lcsync: Update to 0.3.0.
Apply guix style. * gnu/packages/networking.scm (lcsync): Update to 0.3.0. [inputs]: Add libbsd. [arguments]<phases>: Drop 'use-prefix-from-configure-in-doc-makefile and 'add-library-paths.
This commit is contained in:
parent
369c1782c7
commit
4ec8724c77
1 changed files with 14 additions and 30 deletions
|
@ -327,42 +327,26 @@ (define-public netperf
|
||||||
(define-public lcsync
|
(define-public lcsync
|
||||||
(package
|
(package
|
||||||
(name "lcsync")
|
(name "lcsync")
|
||||||
(version "0.2.1")
|
(version "0.3.0")
|
||||||
(source (origin
|
(source
|
||||||
(method git-fetch)
|
(origin
|
||||||
(uri (git-reference
|
(method git-fetch)
|
||||||
(url "https://codeberg.org/librecast/lcsync")
|
(uri (git-reference
|
||||||
(commit (string-append "v" version))))
|
(url "https://codeberg.org/librecast/lcsync")
|
||||||
(file-name (git-file-name name version))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(file-name (git-file-name name version))
|
||||||
(base32
|
(sha256
|
||||||
"0bsd3dkir2i647nmrmyb7skbv16v0f6f3gfwkpxz8g42978dlms5"))))
|
(base32 "1rhk80ybd2zranay76z1ysifnnm786lg9kiiijcwv76qy95in9ks"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:parallel-tests? #f
|
`(#:parallel-tests? #f
|
||||||
#:configure-flags
|
#:configure-flags (list (string-append "--prefix="
|
||||||
(list
|
(assoc-ref %outputs "out")))
|
||||||
(string-append "--prefix="
|
|
||||||
(assoc-ref %outputs "out")))
|
|
||||||
#:make-flags (let ((target ,(%current-target-system)))
|
#:make-flags (let ((target ,(%current-target-system)))
|
||||||
(list ,(string-append "CC="
|
(list ,(string-append "CC="
|
||||||
(cc-for-target))))
|
(cc-for-target))))
|
||||||
#:test-target "test"
|
#:test-target "test"))
|
||||||
#:phases (modify-phases %standard-phases
|
(inputs (list lcrq librecast libsodium libbsd))
|
||||||
(add-after 'unpack 'use-prefix-from-configure-in-doc-makefile
|
|
||||||
;; Use prefix from configure. Fixed upstream:
|
|
||||||
;; https://codeberg.org/librecast/lcsync/commit/4ba00f6
|
|
||||||
;; XXX: Remove for 0.2.2+
|
|
||||||
(lambda _
|
|
||||||
(substitute* "doc/Makefile.in"
|
|
||||||
(("PREFIX .= /usr/local") "PREFIX ?= @prefix@"))))
|
|
||||||
(add-before 'build 'add-library-paths
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(let* ((librecast (assoc-ref inputs "librecast")))
|
|
||||||
(substitute* (list "./src/Makefile" "./test/Makefile")
|
|
||||||
(("-llibrecast")
|
|
||||||
(string-append "-L" librecast "/lib -llibrecast")))))))))
|
|
||||||
(inputs (list lcrq librecast libsodium))
|
|
||||||
(home-page "https://librecast.net/lcsync.html")
|
(home-page "https://librecast.net/lcsync.html")
|
||||||
(synopsis "Librecast file and data syncing tool")
|
(synopsis "Librecast file and data syncing tool")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue