asterisk: update to 20.9.2
[openadk.git] / package / yajl / Makefile
blob321d2497108a1b4194c3c06ced6e73ea162dbddf
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:= yajl
7 PKG_VERSION:= 2.1.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a
10 PKG_DESCR:= small event-driven json parser
11 PKG_SECTION:= libs/data
12 PKG_BUILDDEP:= cmake-host ruby-host
13 PKG_URL:= http://lloyd.github.com/yajl/
14 PKG_SITES:= https://github.com/lloyd/yajl/archive/refs/tags/
15 PKG_OPTS:= dev
17 DISTFILES:= ${PKG_VERSION}.tar.gz
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,YAJL,yajl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
23 CONFIG_STYLE:= cmake
25 yajl-install:
26 $(INSTALL_DIR) $(IDIR_YAJL)/usr/lib
27 $(CP) $(WRKINST)/usr/lib/libyajl*.so* \
28 $(IDIR_YAJL)/usr/lib
30 include ${ADK_TOPDIR}/mk/pkg-bottom.mk