From: Denis OSTERLAND <denis.osterland@diehl.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] [PATCH v3] yajl: add new package
Date: Fri, 22 Jun 2018 09:42:03 +0000 [thread overview]
Message-ID: <20180622094128.27693-1-Denis.Osterland@diehl.com> (raw)
In-Reply-To: <20180622081128.21585-1-Denis.Osterland@diehl.com>
Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
---
rules/yajl.in | 8 ++++++++
rules/yajl.make | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
create mode 100644 rules/yajl.in
create mode 100644 rules/yajl.make
diff --git a/rules/yajl.in b/rules/yajl.in
new file mode 100644
index 000000000..39c53e1df
--- /dev/null
+++ b/rules/yajl.in
@@ -0,0 +1,8 @@
+## SECTION=system_libraries
+
+config YAJL
+ tristate
+ prompt "yajl"
+ select HOST_CMAKE
+ help
+ A fast streaming JSON parsing library in C.
diff --git a/rules/yajl.make b/rules/yajl.make
new file mode 100644
index 000000000..3113a8cd0
--- /dev/null
+++ b/rules/yajl.make
@@ -0,0 +1,49 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Denis Osterland <Denis.Osterland@diehl.com>
+#
+# 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.
+#
+
+PACKAGES-$(PTXCONF_YAJL) += yajl
+
+YAJL_VERSION := 2.1.0
+YAJL_MD5 := 8df8a92a2799bc949577e8e7a9f43670
+YAJL := yajl-$(YAJL_VERSION)
+YAJL_SUFFIX := tar.gz
+YAJL_URL := http://github.com/lloyd/yajl/tarball/$(YAJL_VERSION)
+YAJL_SOURCE := $(SRCDIR)/$(YAJL).$(YAJL_SUFFIX)
+YAJL_DIR := $(BUILDDIR)/$(YAJL)
+YAJL_LICENSE := ISC
+YAJL_LICENSE_FILES := file://COPYING;md5=39af6eb42999852bdd3ea00ad120a36d
+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+YAJL_CONF_TOOL := cmake
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/yajl.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, yajl)
+ @$(call install_fixup, yajl,PRIORITY,optional)
+ @$(call install_fixup, yajl,SECTION,base)
+ @$(call install_fixup, yajl,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
+ @$(call install_fixup, yajl,DESCRIPTION,missing)
+
+ @$(call install_lib, yajl, 0, 0, 0755, libyajl)
+
+ @$(call install_finish, yajl)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.18.0
Diehl AKO Stiftung & Co. KG, Pfannerstraße 75-83, 88239 Wangen im Allgäu
Bereichsvorstand: Dipl.-Ing. Michael Siedentop (Sprecher), Josef Fellner (Mitglied)
Sitz der Gesellschaft: Wangen i.A. – Registergericht: Amtsgericht Ulm HRA 620609 – Persönlich haftende Gesellschafterin: Diehl Verwaltungs-Stiftung – Sitz: Nürnberg – Registergericht: Amtsgericht Nürnberg HRA 11756 –
Vorstand: Dr.-Ing. Karl Tragl (Vorsitzender), Herr Dipl.-Wirtsch.-Ing. Wolfgang Weggen (stellvertretender Vorsitzender), Dipl.-Kfm. Claus Günther, Dipl.-Kfm. Frank Gutzeit, Dr.-Ing. Heinrich Schunk, Dr.-Ing. Michael Siedentop , Dipl.-Kfm. Dr.-Ing. Martin Sommer, Dipl.-Ing. (FH) Rainer von Borstel, Vorsitzender des Aufsichtsrates: Dr. Klaus Maier
___________________________________________________________________________________________________
Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited.
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2018-06-22 9:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-21 12:56 [ptxdist] [PATCH] " Denis OSTERLAND
2018-06-22 7:19 ` Michael Olbrich
2018-06-22 7:37 ` Denis OSTERLAND
2018-06-22 8:12 ` [ptxdist] [PATCH v2] " Denis OSTERLAND
2018-06-22 8:25 ` Alexander Dahl
2018-06-22 8:32 ` Denis OSTERLAND
2018-06-22 8:52 ` Alexander Dahl
2018-06-22 9:07 ` Denis OSTERLAND
2018-06-22 9:15 ` Alexander Dahl
2018-06-22 9:42 ` Denis OSTERLAND [this message]
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=20180622094128.27693-1-Denis.Osterland@diehl.com \
--to=denis.osterland@diehl.com \
--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