kumquat-buildroot/package/scons/scons.mk
Gustavo Zacarias 11baa84419 scons: bump to version 2.2.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-05 00:39:24 -08:00

20 lines
539 B
Makefile

SCONS_VERSION = 2.2.0
SCONS_SOURCE = scons-$(SCONS_VERSION).tar.gz
SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION)
SCONS_LICENSE = MIT
SCONS_LICENSE_FILES = LICENSE.txt
define HOST_SCONS_BUILD_CMDS
(cd $(@D); python setup.py build)
endef
define HOST_SCONS_INSTALL_CMDS
(cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr \
--install-lib=$(HOST_DIR)/usr/lib/scons-$(SCONS_VERSION))
endef
$(eval $(host-generic-package))
# variables used by other packages
SCONS = $(HOST_DIR)/usr/bin/scons