diff options
author | Bastian Stender <bst@pengutronix.de> | 2018-01-29 16:40:14 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-01-29 18:11:07 +0100 |
commit | 978df0703f5e0ca101d528af85157ac069cec7f7 (patch) | |
tree | 10898597741453f1f84e334c80b31831b61cb78e /rules/libyaml.make | |
parent | 84760757887de9250a8eee5b1b2d77caa5ca2a97 (diff) | |
download | ptxdist-978df0703f5e0ca101d528af85157ac069cec7f7.tar.gz ptxdist-978df0703f5e0ca101d528af85157ac069cec7f7.tar.xz |
libyaml: new package
Signed-off-by: Bastian Stender <bst@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libyaml.make')
-rw-r--r-- | rules/libyaml.make | 57 |
1 files changed, 57 insertions, 0 deletions
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 |