diff options
author | Vagrant Cascadian <vagrant@debian.org> | 2023-11-10 11:14:36 -0800 |
---|---|---|
committer | Vagrant Cascadian <vagrant@debian.org> | 2023-11-24 12:23:55 -0800 |
commit | 4ec8724c77c031e3ec94b3583c5b3cfc101fac61 (patch) | |
tree | a3e0fdf8ea77978c02b19d56e2c7c5dff3689c40 /gnu/packages | |
parent | 369c1782c77be0c68cc5cdd66184c33ca8b89d6c (diff) | |
download | guix-4ec8724c77c031e3ec94b3583c5b3cfc101fac61.tar.gz guix-4ec8724c77c031e3ec94b3583c5b3cfc101fac61.zip |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/networking.scm | 44 |
1 files changed, 14 insertions, 30 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index dc2eabca11..994ce6a96a 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -327,42 +327,26 @@ Unix Domain Sockets, SCTP for both IPv4 and IPv6.") (define-public lcsync (package (name "lcsync") - (version "0.2.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://codeberg.org/librecast/lcsync") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0bsd3dkir2i647nmrmyb7skbv16v0f6f3gfwkpxz8g42978dlms5")))) + (version "0.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/librecast/lcsync") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1rhk80ybd2zranay76z1ysifnnm786lg9kiiijcwv76qy95in9ks")))) (build-system gnu-build-system) (arguments `(#:parallel-tests? #f - #:configure-flags - (list - (string-append "--prefix=" - (assoc-ref %outputs "out"))) + #:configure-flags (list (string-append "--prefix=" + (assoc-ref %outputs "out"))) #:make-flags (let ((target ,(%current-target-system))) (list ,(string-append "CC=" (cc-for-target)))) - #:test-target "test" - #:phases (modify-phases %standard-phases - (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)) + #:test-target "test")) + (inputs (list lcrq librecast libsodium libbsd)) (home-page "https://librecast.net/lcsync.html") (synopsis "Librecast file and data syncing tool") (description |