php: update to 7.0.27
[openadk.git] / package / json-c / Makefile
blobf869ce853d23d5d9603e9fdb32f7bd0cfd06719a
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= json-c
7 PKG_VERSION:= 0.13
8 PKG_RELEASE:= 1
9 PKG_HASH:= 0316780be9ad16c42d7c26b015a784fd5df4b0909fef0aba51cfb13e492ac24d
10 PKG_DESCR:= json library
11 PKG_SECTION:= libs/data
12 PKG_URL:= https://github.com/json-c/json-c/wiki
13 PKG_SITES:= https://s3.amazonaws.com/json-c_releases/releases/
14 PKG_OPTS:= dev
16 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,JSON_C,json-c,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
22 CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes \
23 ac_cv_func_realloc_0_nonnull=yes
25 json-c-install:
26 $(INSTALL_DIR) $(IDIR_JSON_C)/usr/lib
27 $(CP) $(WRKINST)/usr/lib/libjson*.so* \
28 $(IDIR_JSON_C)/usr/lib
30 include $(ADK_TOPDIR)/mk/pkg-bottom.mk