1
0

Makefile 1016 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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= yajl
  5. PKG_VERSION:= 2.0.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 6bc3737623490e0a1b5f52bd09903c6f8c360f3338079db19895e95bb940a4da
  8. PKG_DESCR:= small event-driven json parser written in ansi c
  9. PKG_SECTION:= libs/data
  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 $(ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk