Makefile 697 B

12345678910111213141516171819202122232425
  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:= ccache
  5. PKG_VERSION:= 3.1.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a5e9954b1dae036762f7b13673a2cf76
  8. PKG_SITES:= http://samba.org/ftp/ccache/
  9. include ../rules.mk
  10. install: ${STAGING_HOST_DIR}/usr/bin/ccache
  11. $(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
  12. (cd ${WRKBUILD}; ./configure --prefix=$(STAGING_HOST_DIR)/usr)
  13. ${MAKE} -C ${WRKBUILD} CC='${CC_FOR_BUILD}'
  14. touch $@
  15. ${STAGING_HOST_DIR}/usr/bin/ccache: $(WRKBUILD)/.compiled
  16. $(INSTALL_BIN) $(WRKBUILD)/ccache \
  17. ${STAGING_HOST_DIR}/usr/bin
  18. include $(TOPDIR)/mk/tools.mk