Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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:= tinyxml
  5. PKG_VERSION:= 2.6.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 2a0aaf609c9e670ec9748cd01ed52dae
  8. PKG_DESCR:= simple, small, minimal, c++ xml parser
  9. PKG_SECTION:= libs/data
  10. PKG_URL:= http://sourceforge.net/projects/tinyxml/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=tinyxml/}
  12. PKG_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}_2_6_2.zip
  14. WRKDIST= ${WRKDIR}/tinyxml
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,TINYXML,tinyxml,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. TARGET_CXXFLAGS+= -fPIC
  18. CONFIG_STYLE:= manual
  19. INSTALL_STYLE:= manual
  20. tinyxml-install:
  21. $(INSTALL_DIR) $(IDIR_TINYXML)/usr/lib
  22. $(CP) $(WRKBUILD)/libtinyxml*.so* \
  23. $(IDIR_TINYXML)/usr/lib
  24. $(INSTALL_DATA) $(WRKBUILD)/tiny{str,xml}.h \
  25. $(STAGING_TARGET_DIR)/usr/include
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk