summaryrefslogtreecommitdiffstats
path: root/rules/libfastjson.make
blob: 0d1ec5a1c7be376a5aece9a9d542bf3d5925f379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*-makefile-*-
#
# Copyright (C) 2016 by Clemens Gruber <clemens.gruber@pqgruber.com>
#
# 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.8
LIBFASTJSON_MD5		:= 730713ad1d851def7ac8898f751bbfdd
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