Makefile 923 B

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