summaryrefslogtreecommitdiffstats
path: root/package/json-c/json-c.mk
blob: 2788fe563bd5a962a749b5551e76797d07b4e9f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
################################################################################
#
# json-c
#
################################################################################

JSON_C_VERSION = 0.13.1
JSON_C_SITE = https://s3.amazonaws.com/json-c_releases/releases
JSON_C_INSTALL_STAGING = YES
JSON_C_LICENSE = MIT
JSON_C_LICENSE_FILES = COPYING

# update config.h.in timestamp to avoid autoheader run
define JSON_C_UPDATE_CONFIG_TIMESTAMP
	touch $(@D)/config.h.in
endef

JSON_C_POST_EXTRACT_HOOKS += JSON_C_UPDATE_CONFIG_TIMESTAMP
HOST_JSON_C_POST_EXTRACT_HOOKS += JSON_C_UPDATE_CONFIG_TIMESTAMP

$(eval $(autotools-package))
$(eval $(host-autotools-package))
OpenPOWER on IntegriCloud