Makefile 881 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= scons
  5. PKG_VERSION:= 2.3.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 083ce5624d6adcbdaf2526623f456ca9
  8. PKG_DESCR:= a software construction tool
  9. PKG_SECTION:= lang
  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 $(TOPDIR)/mk/host.mk
  16. include $(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 ${TOPDIR}/mk/host-bottom.mk
  23. include ${TOPDIR}/mk/pkg-bottom.mk