1
0

Makefile 956 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. BUILD_STYLE:= auto
  15. INSTALL_STYLE:= auto
  16. XAKE_FLAGS+= CROSS="${TARGET_CROSS}" \
  17. OPTFLAGS="${TARGET_CFLAGS}"
  18. do-configure:
  19. ${CP} ./files/config.h ${WRKBUILD}/
  20. ${CP} ./files/Common.mk ${WRKBUILD}/
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_USTL}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libustl.so* ${IDIR_USTL}/usr/lib/
  24. include ${TOPDIR}/mk/pkg-bottom.mk