aboutsummaryrefslogtreecommitdiffstats
path: root/package/scons/scons.mk
blob: 73c68ed9610e61fb63cf9b6225dbc13b6db9148b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
SCONS_VERSION = 2.0.1
SCONS_SOURCE = scons-$(SCONS_VERSION).tar.gz
SCONS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/scons

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 $(call GENTARGETS,host))