diff options
author | Clemens Gruber <clemens.gruber@pqgruber.com> | 2016-09-28 17:59:39 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-10-04 16:42:47 +0200 |
commit | ab8cee4d631c3a3f0fe4d79489e6f3cbb12c9297 (patch) | |
tree | a643e10da458132e6bcddf68c941f0cb26d5e90c /rules/libfastjson.make | |
parent | 04c599423bf71f28c3720b37d49c7a5ebef6cb84 (diff) | |
download | ptxdist-ab8cee4d631c3a3f0fe4d79489e6f3cbb12c9297.tar.gz ptxdist-ab8cee4d631c3a3f0fe4d79489e6f3cbb12c9297.tar.xz |
libfastjson: new package
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libfastjson.make')
-rw-r--r-- | rules/libfastjson.make | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/rules/libfastjson.make b/rules/libfastjson.make new file mode 100644 index 000000000..6ecdc006f --- /dev/null +++ b/rules/libfastjson.make @@ -0,0 +1,53 @@ +# -*-makefile-*- +# +# Copyright (C) 2016 by Clemens Gruber <clemens.gruber@pqgruber.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. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LIBFASTJSON) += libfastjson + +# +# Paths and names +# +LIBFASTJSON_VERSION := 0.99.4 +LIBFASTJSON_MD5 := 5a24c9adcd0bf5307c972de5e9ea4ce9 +LIBFASTJSON := libfastjson-$(LIBFASTJSON_VERSION) +LIBFASTJSON_SUFFIX := tar.gz +LIBFASTJSON_URL := https://codeload.github.com/rsyslog/libfastjson/$(LIBFASTJSON_SUFFIX)/v$(LIBFASTJSON_VERSION) +LIBFASTJSON_SOURCE := $(SRCDIR)/$(LIBFASTJSON).$(LIBFASTJSON_SUFFIX) +LIBFASTJSON_DIR := $(BUILDDIR)/$(LIBFASTJSON) +LIBFASTJSON_LICENSE := MIT + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBFASTJSON_CONF_TOOL := autoconf + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libfastjson.targetinstall: + @$(call targetinfo) + + @$(call install_init, libfastjson) + @$(call install_fixup, libfastjson, PRIORITY, optional) + @$(call install_fixup, libfastjson, SECTION, base) + @$(call install_fixup, libfastjson, AUTHOR, "Clemens Gruber <clemens.gruber@pqgruber.com>") + @$(call install_fixup, libfastjson, DESCRIPTION, missing) + + @$(call install_lib, libfastjson, 0, 0, 0644, libfastjson) + + @$(call install_finish, libfastjson) + + @$(call touch) + +# vim: syntax=make |