summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-07-20 05:11:52 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-07-24 19:37:24 (GMT)
commitcae6d2397bfb49cda38d5ba629e049a959eede8a (patch)
tree1b1dde4b3dc017cf7216138e9acd94e7f48a694e
parentba930bbc19fee322572bf804b8d4c3a487adbdc2 (diff)
downloadbuildroot-cae6d2397bfb49cda38d5ba629e049a959eede8a.tar.gz
buildroot-cae6d2397bfb49cda38d5ba629e049a959eede8a.tar.bz2
scons: new package
Only the host package is supported. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/scons/scons.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/scons/scons.mk b/package/scons/scons.mk
new file mode 100644
index 0000000..f8fe84b
--- /dev/null
+++ b/package/scons/scons.mk
@@ -0,0 +1,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,package,scons,host))