2 # Copyright (C) 2014, 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE_URL
:=https
://github.com
/lloyd
/yajl
16 PKG_SOURCE_VERSION
:=$(PKG_VERSION
)
17 PKG_MIRROR_HASH
:=0cd74320be0270a07931e42d2f14f87a8b3fb664ecb5db58b0e838886211ab1f
19 PKG_MAINTAINER
:=Charles Southerland
<charlie@stuphlabs.com
>
21 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
26 include ..
/..
/devel
/ninja
/ninja-cmake.mk
31 TITLE
:=Yet Another JSON Library
32 URL
:=https
://lloyd.github.io
/yajl
35 define Package
/yajl
/description
36 Yet Another JSON Library. YAJL is a small event-driven
(SAX-style
)
37 JSON parser written in ANSI C
, and a small validating JSON generator.
38 YAJL is released under the ISC license.
40 YAJL was created by Lloyd Hilaiel.
43 define Package
/yajl
/install
44 $(INSTALL_DIR
) $(1)/usr
/lib
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libyajl.so
* $(1)/usr
/lib
/
48 $(eval
$(call BuildPackage
,yajl
))