Makefile 833 B

123456789101112131415161718192021222324252627282930
  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. PKG_CFLINE_SCONS:= depends on ADK_HOST_ONLY
  14. include $(TOPDIR)/mk/host.mk
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call HOST_template,SCONS,scons,$(PKG_VERSION)-${PKG_RELEASE}))
  17. HOST_STYLE:= manual
  18. scons-hostinstall:
  19. (cd $(WRKBUILD); PATH='$(HOST_PATH)' python setup.py install \
  20. --prefix=$(STAGING_HOST_DIR)/usr)
  21. include ${TOPDIR}/mk/host-bottom.mk
  22. include ${TOPDIR}/mk/pkg-bottom.mk