summaryrefslogtreecommitdiff
path: root/package/scons/scons.mk
blob: 2aed62c5cbbb22db870214a0cc8526fef3d84ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SCONS_VERSION = 2.0.1
SCONS_SOURCE = scons-$(SCONS_VERSION).tar.gz
SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION)

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)
endef

$(eval $(host-generic-package))

# variables used by other packages
SCONS = $(HOST_DIR)/usr/bin/scons