From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 41490@debbugs.gnu.org
Subject: [bug#41490] [PATCH 3/5] gnu: Add libpepadapter.
Date: Sat, 23 May 2020 20:51:02 +0200 [thread overview]
Message-ID: <c48923177f63bd2da5c346e3dffba8cb8e20b832.1590259641.git.h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <cover.1590259641.git.h.goebel@crazy-compilers.com>
* 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 57fb0e88f3..9452435c35 100644
--- a/gnu/packages/pep.scm
+++ b/gnu/packages/pep.scm
@@ -153,3 +153,44 @@ messages")
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
+(pretty Easy privacy) adapters.")
+ (license license:bsd-3)))
--
2.21.3
next prev parent reply other threads:[~2020-05-23 18:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-23 18:48 [bug#41490] [PATCH 0/5] Add pEp (pretty Easy privacy) Hartmut Goebel
2020-05-23 18:51 ` [bug#41490] [PATCH 1/5] gnu: Add yml2 Hartmut Goebel
2020-05-23 18:51 ` [bug#41490] [PATCH 2/5] gnu: Add pep-engine Hartmut Goebel
2020-05-23 18:51 ` Hartmut Goebel [this message]
2020-05-23 18:51 ` [bug#41490] [PATCH 4/5] gnu: Add python-pep-adapter Hartmut Goebel
2020-05-23 18:51 ` [bug#41490] [PATCH 5/5] gnu: Add java-pep-adapter Hartmut Goebel
2020-06-07 10:09 ` [PATCH 0/5] Add pEp (pretty Easy privacy) Hartmut Goebel
2020-06-08 16:06 ` Advice on package naming (was: [PATCH 0/5] Add pEp (pretty Easy privacy)) Hartmut Goebel
2020-06-09 16:13 ` [bug#41490] Advice on package naming Ludovic Courtès
2020-06-09 18:02 ` bug#41490: " Hartmut Goebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c48923177f63bd2da5c346e3dffba8cb8e20b832.1590259641.git.h.goebel@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=41490@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.