diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2012-02-09 12:56:05 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-02-10 15:13:48 +0100 |
commit | 78e400b954c7479bc7ad7723b3e6f7c9b4b1a9f4 (patch) | |
tree | 89b7e089e7b518394bd54fdabae1e2e23c101de3 | |
parent | 3bb65bf23ef9107b605adabe097b6cb4970a5b09 (diff) | |
download | ptxdist-78e400b954c7479bc7ad7723b3e6f7c9b4b1a9f4.tar.gz ptxdist-78e400b954c7479bc7ad7723b3e6f7c9b4b1a9f4.tar.xz |
gnutls: add recipe (version 2.12.16)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/gnutls.in | 14 | ||||
-rw-r--r-- | rules/gnutls.make | 61 |
2 files changed, 75 insertions, 0 deletions
diff --git a/rules/gnutls.in b/rules/gnutls.in new file mode 100644 index 000000000..09b0744b1 --- /dev/null +++ b/rules/gnutls.in @@ -0,0 +1,14 @@ +## SECTION=networking + +config GNUTLS + tristate + select LIBGCRYPT + prompt "gnutls" + 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/gnutls.make b/rules/gnutls.make new file mode 100644 index 000000000..22c28070c --- /dev/null +++ b/rules/gnutls.make @@ -0,0 +1,61 @@ +# -*-makefile-*- +# +# Copyright (C) 2012 by Jan Luebbe <jlu@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_GNUTLS) += gnutls + +# +# Paths and names +# +GNUTLS_VERSION := 2.12.16 +GNUTLS_MD5 := 0414bba9760201f27d66787997cbadfb +GNUTLS := gnutls-$(GNUTLS_VERSION) +GNUTLS_SUFFIX := tar.bz2 +GNUTLS_URL := http://ftp.gnu.org/gnu/gnutls/$(GNUTLS).$(GNUTLS_SUFFIX) +GNUTLS_SOURCE := $(SRCDIR)/$(GNUTLS).$(GNUTLS_SUFFIX) +GNUTLS_DIR := $(BUILDDIR)/$(GNUTLS) +GNUTLS_LICENSE := LGPLv3+ + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +GNUTLS_CONF_TOOL := autoconf +GNUTLS_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --with-libgcrypt \ + --without-p11-kit \ + --disable-guile + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/gnutls.targetinstall: + @$(call targetinfo) + + @$(call install_init, gnutls) + @$(call install_fixup, gnutls,PRIORITY,optional) + @$(call install_fixup, gnutls,SECTION,base) + @$(call install_fixup, gnutls,AUTHOR,"Jan Luebbe <jlu@pengutronix.de>") + @$(call install_fixup, gnutls,DESCRIPTION,missing) + + @$(call install_lib, gnutls, 0, 0, 0644, libgnutls) + + @$(call install_finish, gnutls) + + @$(call touch) + +# vim: syntax=make |