all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#52422] [PATCH] gnu: Add bibutils.
@ 2021-12-11  7:43 Liliana Marie Prikler
  2021-12-11  7:43 ` [bug#52422] [PATCH v2 1/2] " Liliana Marie Prikler
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Liliana Marie Prikler @ 2021-12-11  7:43 UTC (permalink / raw)
  To: 52422

* gnu/packages/textutils.scm (bibutils): New variable.
---
 gnu/packages/textutils.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index bbad8ce867..11233446af 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1146,6 +1146,40 @@ (define-public odt2txt
 OpenDocument presentations (*.odp).")
     (license license:gpl2)))
 
+(define-public bibutils
+  (package
+    (name "bibutils")
+    (version "7.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/bibutils/"
+                                  "bibutils_" version "_src.tgz"))
+
+              (sha256
+               (base32
+                "1hxmwjjzw48w6hdh2x7ybkrhi1xngd55i67hrrd3wswa3vpql0kf"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       (list "--install-dir" (string-append (assoc-ref %outputs "out") "/bin")
+             "--install-lib" (string-append (assoc-ref %outputs "out") "/lib")
+             "--dynamic")
+       #:make-flags (list (string-append "CC=" ,(cc-for-target))
+                          (string-append "LDFLAGSIN=-Wl,-rpath="
+                                         (assoc-ref %outputs "out") "/lib"))
+       #:test-target "test"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda* (#:key configure-flags #:allow-other-keys)
+             ;; configure script is ill-formed, invoke it manually
+             (apply invoke "sh" "./configure" configure-flags))))))
+    (home-page "https://bibutils.sourceforge.io/")
+    (synopsis "Convert between various bibliography formats")
+    (description "This package provides converters for various bibliography
+formats (e.g. Bibtex, RIS, ...) using a common XML intermediate.")
+    (license license:gpl2)))
+
 (define-public opencc
   (package
     (name "opencc")
-- 
2.34.0






^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-12-24 18:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-11  7:43 [bug#52422] [PATCH] gnu: Add bibutils Liliana Marie Prikler
2021-12-11  7:43 ` [bug#52422] [PATCH v2 1/2] " Liliana Marie Prikler
2021-12-24 14:51   ` Ludovic Courtès
2021-12-24 18:14     ` bug#52422: " Liliana Marie Prikler
2021-12-22 21:42 ` [bug#52422] [PATCH] " Ludovic Courtès
2021-12-23 22:12 ` [bug#52422] [PATCH v2 2/2] gnu: Move go-github-com-aswinkarthik-csvdiff to textutils Liliana Marie Prikler
2021-12-24 14:52   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.