python-pysqlite2-native: New recipe
authorTom Rini <tom_rini@mentor.com>
Tue, 23 Feb 2010 18:59:04 +0000 (11:59 -0700)
committerTom Rini <tom_rini@mentor.com>
Tue, 23 Feb 2010 18:59:04 +0000 (11:59 -0700)
recipes/python/python-pysqlite2-native_2.4.0.bb [new file with mode: 0644]

diff --git a/recipes/python/python-pysqlite2-native_2.4.0.bb b/recipes/python/python-pysqlite2-native_2.4.0.bb
new file mode 100644 (file)
index 0000000..0a7d667
--- /dev/null
@@ -0,0 +1,10 @@
+require python-pysqlite2_${PV}.bb
+inherit native
+DEPENDS = "python-native sqlite3-native"
+RDEPENDS = ""
+
+do_stage() {
+    BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+    STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \
+        ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR}
+}