Makefile 934 B

1234567891011121314151617181920212223242526272829303132
  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:= 2.3.0
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 9442069999cf4b2caa94a5886ab4c2c71de1718ed5e9176c18e2b6dbca463b4b
  8. PKG_DESCR:= software construction tool
  9. PKG_SECTION:= dev/tools
  10. HOST_BUILDDEP:= python2-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. include $(ADK_TOPDIR)/mk/host.mk
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call HOST_template,SCONS,scons,$(PKG_VERSION)-${PKG_RELEASE}))
  18. HOST_STYLE:= manual
  19. scons-hostinstall:
  20. (cd $(WRKBUILD); PATH='$(HOST_PATH)' python setup.py install \
  21. --prefix=$(STAGING_HOST_DIR)/usr)
  22. include ${ADK_TOPDIR}/mk/host-bottom.mk
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk