summaryrefslogtreecommitdiff
path: root/package/yajl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/yajl/Makefile')
-rw-r--r--package/yajl/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/yajl/Makefile b/package/yajl/Makefile
new file mode 100644
index 000000000..4de665545
--- /dev/null
+++ b/package/yajl/Makefile
@@ -0,0 +1,29 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= yajl
+PKG_VERSION:= 2.0.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= c953a53344c0e20a892fc042bbe69744
+PKG_DESCR:= a small event-driven JSON parser written in ANSI C
+PKG_SECTION:= libs
+PKG_URL:= http://lloyd.github.com/yajl/
+PKG_SITES:= http://openadk.org/distfiles/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,YAJL,yajl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+
+do-configure:
+ (cd ${WRKBUILD} && ./configure --prefix /usr)
+
+yajl-install:
+ $(INSTALL_DIR) $(IDIR_YAJL)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libyajl*.so* \
+ $(IDIR_YAJL)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk