summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-scons-native_2.5.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python-scons-native_2.5.1.bb')
-rw-r--r--meta/recipes-devtools/python/python-scons-native_2.5.1.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-scons-native_2.5.1.bb b/meta/recipes-devtools/python/python-scons-native_2.5.1.bb
new file mode 100644
index 0000000000..dae89ab5d2
--- /dev/null
+++ b/meta/recipes-devtools/python/python-scons-native_2.5.1.bb
@@ -0,0 +1,8 @@
+require python-scons_${PV}.bb
+inherit native pythonnative
+DEPENDS = "python-native"
+RDEPENDS_${PN} = ""
+
+do_install_append() {
+ create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}'
+}