emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41476: closed ([PATCH 3/5] gnu: Add libpepadapter.)


From: GNU bug Tracking System
Subject: bug#41476: closed ([PATCH 3/5] gnu: Add libpepadapter.)
Date: Sat, 23 May 2020 18:42:02 +0000

Your message dated Sat, 23 May 2020 20:41:41 +0200
with message-id <address@hidden>
and subject line duplicate
has caused the debbugs.gnu.org bug report #41476,
regarding [PATCH 3/5] gnu: Add libpepadapter.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
41476: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41476
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 3/5] gnu: Add libpepadapter. Date: Sat, 23 May 2020 10:58:59 +0200
* gnu/packages/pep.scm (libpepadapter): New variable.
---
 gnu/packages/pep.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/pep.scm b/gnu/packages/pep.scm
index d69e1a3929..c101ab4fb4 100644
--- a/gnu/packages/pep.scm
+++ b/gnu/packages/pep.scm
@@ -152,3 +152,44 @@ OPENPGP=SEQUOIA
 privacy).")
     (license ;; code: GPL 3, docs: CC-BY-SA
      (list license:gpl3 license:cc-by-sa3.0))))
+
+(define-public libpepadapter
+  (package
+    (name "libpepadapter")
+    (version "2.0.2")
+    (source
+     (origin
+       (method hg-fetch)
+       (uri (hg-reference
+             (url "https://pep.foundation/dev/repos/libpEpAdapter";)
+             (changeset "e8fe371c870a"))) ;; r168
+       (file-name (string-append name "-" version "-checkout"))
+       (sha256
+        (base32 "1mlpavjbnmslvmr5jxcvpjgb2x40nhmxjb10hza3kn4qzj0k1pjz"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:test-target "test"
+       #:tests? #f ;; building the tests fails
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           ;; libpEpAdapter does not use autotools and configure,
+           ;; but a local.conf. We need to tweak the values there.
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out"))
+                   (engine (assoc-ref inputs "pep-engine")))
+               (with-output-to-file "local.conf"
+                 (lambda _ ;()
+                   (format #t "
+PREFIX=~a
+ENGINE_LIB_PATH=~a/lib
+ENGINE_INC_PATH=~a/include
+" out engine engine))))
+             #t)))))
+    (inputs
+     `(("pep-engine" ,pep-engine)))
+    (home-page "https://pep.foundation/";)
+    (synopsis "Library for building p≡p adapters")
+    (description "This C++ library provides common structures used in p≡p
+adapters.")
+    (license license:bsd-3)))
-- 
2.21.3




--- End Message ---
--- Begin Message --- Subject: duplicate Date: Sat, 23 May 2020 20:41:41 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

Attachment: 0x7B752811BF773B65.asc
Description: application/pgp-keys


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]