Makefile 1.0 KB

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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= expat
  5. PKG_VERSION:= 2.2.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= d9e50ff2d19b3538bd2127902a89987474e1a4db8e43a66a4d1a712ab9a504ff
  8. PKG_DESCR:= xml parsing library
  9. PKG_SECTION:= libs/data
  10. PKG_NEEDS:= c++
  11. PKG_URL:= http://expat.sourceforge.net
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=expat/}
  13. PKG_LIBNAME:= libexpat
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include ${ADK_TOPDIR}/mk/host.mk
  17. include ${ADK_TOPDIR}/mk/package.mk
  18. $(eval $(call HOST_template,LIBEXPAT,libexpat,${PKG_VERSION}-${PKG_RELEASE}))
  19. $(eval $(call PKG_template,LIBEXPAT,libexpat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. libexpat-install:
  21. ${INSTALL_DIR} ${IDIR_LIBEXPAT}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libexpat.so* ${IDIR_LIBEXPAT}/usr/lib/
  23. include ${ADK_TOPDIR}/mk/host-bottom.mk
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk