1
0

Makefile 969 B

1234567891011121314151617181920212223242526272829303132333435
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= yajl
  5. PKG_VERSION:= 2.0.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c953a53344c0e20a892fc042bbe69744
  8. PKG_DESCR:= small event-driven JSON parser written in ANSI C
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= cmake-host ruby-host
  11. PKG_URL:= http://lloyd.github.com/yajl/
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_NOPARALLEL:= 1
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,YAJL,yajl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CONFIG_STYLE:= manual
  19. do-configure:
  20. (cd ${WRKBUILD} && PATH='${HOST_PATH}' ./configure --prefix /usr)
  21. yajl-install:
  22. $(INSTALL_DIR) $(IDIR_YAJL)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libyajl*.so* \
  24. $(IDIR_YAJL)/usr/lib
  25. include ${TOPDIR}/mk/pkg-bottom.mk