mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bastian Stender <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Stender <bst@pengutronix.de>
Subject: [ptxdist] [PATCH 3/5] libyaml: new package
Date: Mon, 29 Jan 2018 16:40:14 +0100	[thread overview]
Message-ID: <20180129154016.14890-3-bst@pengutronix.de> (raw)
In-Reply-To: <20180129154016.14890-1-bst@pengutronix.de>

Signed-off-by: Bastian Stender <bst@pengutronix.de>
---
 patches/libyaml-0.1.7/autogen.sh |  1 +
 rules/libyaml.in                 |  7 +++++
 rules/libyaml.make               | 57 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 65 insertions(+)
 create mode 120000 patches/libyaml-0.1.7/autogen.sh
 create mode 100644 rules/libyaml.in
 create mode 100644 rules/libyaml.make

diff --git a/patches/libyaml-0.1.7/autogen.sh b/patches/libyaml-0.1.7/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/libyaml-0.1.7/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/rules/libyaml.in b/rules/libyaml.in
new file mode 100644
index 000000000..c56f31cb4
--- /dev/null
+++ b/rules/libyaml.in
@@ -0,0 +1,7 @@
+## SECTION=system_libraries
+
+config LIBYAML
+	tristate
+	prompt "libyaml"
+	help
+	  A C library for parsing and emitting YAML.
diff --git a/rules/libyaml.make b/rules/libyaml.make
new file mode 100644
index 000000000..98675723e
--- /dev/null
+++ b/rules/libyaml.make
@@ -0,0 +1,57 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Bastian Stender <bst@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_LIBYAML) += libyaml
+
+#
+# Paths and names
+#
+LIBYAML_VERSION	:= 0.1.7
+LIBYAML_MD5	:= c966bdf434286e4f618d9ae8a5e8db97
+LIBYAML		:= libyaml-$(LIBYAML_VERSION)
+LIBYAML_SUFFIX	:= tar.gz
+LIBYAML_URL	:= https://github.com/yaml/libyaml/archive/$(LIBYAML_VERSION).$(LIBYAML_SUFFIX)
+LIBYAML_SOURCE	:= $(SRCDIR)/$(LIBYAML).$(LIBYAML_SUFFIX)
+LIBYAML_DIR	:= $(BUILDDIR)/$(LIBYAML)
+LIBYAML_LICENSE	:= MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+LIBYAML_CONF_TOOL	:= autoconf
+LIBYAML_CONF_OPT	:= $(CROSS_AUTOCONF_USR)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libyaml.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libyaml)
+	@$(call install_fixup, libyaml, PRIORITY, optional)
+	@$(call install_fixup, libyaml, SECTION, base)
+	@$(call install_fixup, libyaml, AUTHOR, "Bastian Stender <bst@pengutronix.de>")
+	@$(call install_fixup, libyaml, DESCRIPTION, missing)
+
+	@$(call install_lib, libyaml, 0, 0, 0644, libyaml-0)
+
+	@$(call install_finish, libyaml)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.15.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2018-01-29 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-29 15:40 [ptxdist] [PATCH 1/5] python3-transitions: " Bastian Stender
2018-01-29 15:40 ` [ptxdist] [PATCH 2/5] python3-websockets: " Bastian Stender
2018-01-29 15:40 ` Bastian Stender [this message]
2018-01-29 15:40 ` [ptxdist] [PATCH 4/5] python3-pyyaml: " Bastian Stender
2018-01-29 15:40 ` [ptxdist] [PATCH 5/5] python3-hbmqtt: " Bastian Stender

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=20180129154016.14890-3-bst@pengutronix.de \
    --to=bst@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