Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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:= scons
  5. PKG_VERSION:= 3.1.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 7801f3f62f654528e272df780be10c0e9337e897650b62ddcee9f39fde13f8fb
  8. PKG_DESCR:= software construction tool
  9. PKG_SECTION:= dev/tools
  10. HOST_BUILDDEP:= python3-host
  11. PKG_URL:= http://www.scons.org
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=scons/}
  13. DISTFILES:= $(PKG_NAME)-${PKG_VERSION}.tar.gz
  14. PKG_CFLINE_SCONS:= depends on ADK_HOST_ONLY
  15. #WRKDIST= ${WRKDIR}/SCons-${PKG_VERSION}
  16. include $(ADK_TOPDIR)/mk/host.mk
  17. include $(ADK_TOPDIR)/mk/package.mk
  18. $(eval $(call HOST_template,SCONS,scons,$(PKG_VERSION)-${PKG_RELEASE}))
  19. HOST_STYLE:= manual
  20. scons-hostinstall:
  21. (cd $(WRKBUILD); PATH='$(HOST_PATH)' python setup.py install \
  22. --prefix=$(STAGING_HOST_DIR)/usr --install-lib=$(STAGING_HOST_DIR)/lib/scons-$(PKG_VERSION))
  23. include ${ADK_TOPDIR}/mk/host-bottom.mk
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk