Makefile 966 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= ustl
  7. PKG_VERSION:= 0.8
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= dd59483c327f1bd1356273bc5ae4dde0
  10. PKG_DESCR:= An STL (Standard Template Library) for embedded systems
  11. PKG_SECTION:= libs
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ustl/}
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-0.tar.bz2
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,USTL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto
  18. XAKE_FLAGS+= CROSS="${TARGET_CROSS}" \
  19. OPTFLAGS="${TARGET_CFLAGS}"
  20. do-configure:
  21. ${CP} ./files/config.h ${WRKBUILD}/
  22. ${CP} ./files/Common.mk ${WRKBUILD}/
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_USTL}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libustl.so* ${IDIR_USTL}/usr/lib/
  26. include ${TOPDIR}/mk/pkg-bottom.mk