mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Subject: [ptxdist] [PATCH 2/3] host-libp11: add new rule to build libp11 on host
Date: Tue, 23 Aug 2016 09:24:01 +0200	[thread overview]
Message-ID: <1471937042-11955-2-git-send-email-s.trumtrar@pengutronix.de> (raw)
In-Reply-To: <1471937042-11955-1-git-send-email-s.trumtrar@pengutronix.de>

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 rules/host-libp11.in   | 12 ++++++++++++
 rules/host-libp11.make | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 rules/host-libp11.in
 create mode 100644 rules/host-libp11.make

diff --git a/rules/host-libp11.in b/rules/host-libp11.in
new file mode 100644
index 000000000000..c0618805bc42
--- /dev/null
+++ b/rules/host-libp11.in
@@ -0,0 +1,12 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_LIBP11
+	tristate
+	select HOST_OPENSSL
+	select HOST_OPENSC
+	help
+	  pkcs#11 convenience library
+	  Libp11 is a library to simplify using smart cards via
+	  PKCS#11 modules. It was spun of the OpenSC project but can
+	  be used with any pkcs#11 module.
diff --git a/rules/host-libp11.make b/rules/host-libp11.make
new file mode 100644
index 000000000000..5628f3a783a2
--- /dev/null
+++ b/rules/host-libp11.make
@@ -0,0 +1,37 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Steffen Trumtrar <entwicklung@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LIBP11) += host-libp11
+
+#
+# Paths and names
+#
+HOST_LIBP11_VERSION	:= 0.4.0
+HOST_LIBP11_MD5		:= 00b3e41db5be840d822bda12f3ab2ca7
+HOST_LIBP11		:= libp11-$(HOST_LIBP11_VERSION)
+HOST_LIBP11_SUFFIX	:= tar.gz
+HOST_LIBP11_URL		:= https://github.com/OpenSC/libp11/releases/download/$(HOST_LIBP11)/$(HOST_LIBP11).$(HOST_LIBP11_SUFFIX)
+HOST_LIBP11_SOURCE	:= $(SRCDIR)/$(HOST_LIBP11).$(HOST_LIBP11_SUFFIX)
+HOST_LIBP11_DIR		:= $(HOST_BUILDDIR)/$(HOST_LIBP11)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_LIBP11_CONF_TOOL	:= autoconf
+HOST_LIBP11_MAKE_PAR	:= NO
+
+# vim: syntax=make
-- 
2.8.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2016-08-23  7:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-23  7:24 [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc " Steffen Trumtrar
2016-08-23  7:24 ` Steffen Trumtrar [this message]
2016-09-02  9:09   ` [ptxdist] [PATCH 2/3] host-libp11: add new rule to build libp11 " Michael Olbrich
2016-08-23  7:24 ` [ptxdist] [PATCH 3/3] host-pcsc-lite: add new rule to build pcsc-lite " Steffen Trumtrar
2016-09-02  9:07 ` [ptxdist] [PATCH 1/3] host-opensc: add new rule to build opensc " Michael Olbrich
2016-09-02  9:11 ` Michael Olbrich

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=1471937042-11955-2-git-send-email-s.trumtrar@pengutronix.de \
    --to=s.trumtrar@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox