2012-12-03 05:45:59 +01:00
|
|
|
SCONS_VERSION = 2.2.0
|
2011-07-20 07:11:52 +02:00
|
|
|
SCONS_SOURCE = scons-$(SCONS_VERSION).tar.gz
|
2012-08-26 01:52:48 +02:00
|
|
|
SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION)
|
2012-11-22 01:18:13 +01:00
|
|
|
SCONS_LICENSE = MIT
|
|
|
|
SCONS_LICENSE_FILES = LICENSE.txt
|
2011-07-20 07:11:52 +02:00
|
|
|
|
|
|
|
define HOST_SCONS_BUILD_CMDS
|
|
|
|
(cd $(@D); python setup.py build)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_SCONS_INSTALL_CMDS
|
2012-10-09 14:25:56 +02:00
|
|
|
(cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr \
|
|
|
|
--install-lib=$(HOST_DIR)/usr/lib/scons-$(SCONS_VERSION))
|
2011-07-20 07:11:52 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-generic-package))
|
2012-07-23 23:22:26 +02:00
|
|
|
|
|
|
|
# variables used by other packages
|
|
|
|
SCONS = $(HOST_DIR)/usr/bin/scons
|