Makefile 905 B

12345678910111213141516171819202122232425262728293031
  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:= a 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. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,YAJL,yajl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. CONFIG_STYLE:= manual
  17. do-configure:
  18. (cd ${WRKBUILD} && PATH='${TARGET_PATH}' ./configure --prefix /usr)
  19. yajl-install:
  20. $(INSTALL_DIR) $(IDIR_YAJL)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/libyajl*.so* \
  22. $(IDIR_YAJL)/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk