mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ptxdist: add gnutls package 3.x
@ 2013-04-12  9:56 Michael Grzeschik
  0 siblings, 0 replies; only message in thread
From: Michael Grzeschik @ 2013-04-12  9:56 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-12  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-12  9:56 [ptxdist] [PATCH] ptxdist: add gnutls package 3.x Michael Grzeschik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox