mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Grzeschik <m.grzeschik@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] ptxdist: add gnutls package 3.x
Date: Fri, 12 Apr 2013 11:56:56 +0200	[thread overview]
Message-ID: <1365760616-31479-1-git-send-email-m.grzeschik@pengutronix.de> (raw)

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 rules/gnutls3.in   | 15 ++++++++++++++
 rules/gnutls3.make | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)
 create mode 100644 rules/gnutls3.in
 create mode 100644 rules/gnutls3.make

diff --git a/rules/gnutls3.in b/rules/gnutls3.in
new file mode 100644
index 0000000..c5ddf04
--- /dev/null
+++ b/rules/gnutls3.in
@@ -0,0 +1,15 @@
+## SECTION=networking
+
+config GNUTLS3
+	tristate
+	select LIBTASN1
+	select NETTLE
+	prompt "gnutls-3.x"
+	help
+	  GnuTLS is a secure communications library implementing the SSL,
+	  TLS and DTLS protocols and technologies around them.
+	  It provides a simple C language application programming interface
+	  (API) to access the secure communications protocols as well as
+	  APIs to parse and write X.509, PKCS #12, OpenPGP and other required
+	  structures. It is aimed to be portable and efficient with focus on
+	  security and interoperability.
diff --git a/rules/gnutls3.make b/rules/gnutls3.make
new file mode 100644
index 0000000..a1c1224
--- /dev/null
+++ b/rules/gnutls3.make
@@ -0,0 +1,60 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Michael Grzeschik <mgr@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
+#
+PACKAGES-$(PTXCONF_GNUTLS3) += gnutls3
+
+#
+# Paths and names
+#
+GNUTLS3_VERSION	:= 3.1.9.1
+GNUTLS3_MD5	:= 0674032fe6de0d90d08eed81fcac2e1d
+GNUTLS3		:= gnutls-$(GNUTLS3_VERSION)
+GNUTLS3_SUFFIX	:= tar.xz
+GNUTLS3_URL	:= $(call ptx/mirror, GNU, gnutls/$(GNUTLS3).$(GNUTLS3_SUFFIX))
+GNUTLS3_SOURCE	:= $(SRCDIR)/$(GNUTLS3).$(GNUTLS3_SUFFIX)
+GNUTLS3_DIR	:= $(BUILDDIR)/$(GNUTLS3)
+GNUTLS3_LICENSE	:= LGPLv3+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+GNUTLS3_CONF_TOOL := autoconf
+GNUTLS3_CONF_OPT := \
+	$(CROSS_AUTOCONF_USR) \
+	--without-p11-kit \
+	--disable-guile
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/gnutls3.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, gnutls3)
+	@$(call install_fixup, gnutls3,PRIORITY,optional)
+	@$(call install_fixup, gnutls3,SECTION,base)
+	@$(call install_fixup, gnutls3,AUTHOR,"Michael Grzeschik <mgr@pengutronix.de>")
+	@$(call install_fixup, gnutls3,DESCRIPTION,missing)
+
+	@$(call install_lib, gnutls3, 0, 0, 0644, libgnutls)
+
+	@$(call install_finish, gnutls3)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
1.8.2.rc2


-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2013-04-12  9:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1365760616-31479-1-git-send-email-m.grzeschik@pengutronix.de \
    --to=m.grzeschik@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