Makefile 938 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:= ustl
  5. PKG_VERSION:= 0.8
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= dd59483c327f1bd1356273bc5ae4dde0
  8. PKG_DESCR:= An STL (Standard Template Library) for embedded systems
  9. PKG_SECTION:= libs
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ustl/}
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-0.tar.bz2
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,USTL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. XAKE_FLAGS+= CROSS="${TARGET_CROSS}" \
  16. OPTFLAGS="${TARGET_CFLAGS}"
  17. do-configure:
  18. ${CP} ./files/config.h ${WRKBUILD}/
  19. ${CP} ./files/Common.mk ${WRKBUILD}/
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_USTL}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libustl.so* ${IDIR_USTL}/usr/lib/
  23. include ${TOPDIR}/mk/pkg-bottom.mk