summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/checksums.ini4
-rw-r--r--recipes/xapian/xapian-bindings-python_1.0.14.bb42
2 files changed, 46 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 2a7d55ce79..65cdb67501 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -25374,6 +25374,10 @@ sha256=18b38aff8e019f35bfee810831535685e69dcf91283e50bc62efa82e3a8dbc21
md5=fc805051f0fe505c7a4b1b5c8db9b9e3
sha256=fa52aa629bb882335d45d67401d270c3f21b5131aaea005ac0d4590f2ce8b043
+[http://www.oligarchy.co.uk/xapian/1.0.14/xapian-bindings-1.0.14.tar.gz]
+md5=d6f86ccc3d1a534902e1cf8df1cb43f3
+sha256=05072405fd182425d90374d2d5b69c36fe9fd927f44e397c449a9bdd1a971218
+
[http://www.oligarchy.co.uk/xapian/1.0.13/xapian-core-1.0.13.tar.gz]
md5=5442e7ffc75abd853d1ab1d12667a3e9
sha256=a474be06657bd83200231d938d48d4d2a83cff0252c618421f835604c5548dce
diff --git a/recipes/xapian/xapian-bindings-python_1.0.14.bb b/recipes/xapian/xapian-bindings-python_1.0.14.bb
new file mode 100644
index 0000000000..665cd58913
--- /dev/null
+++ b/recipes/xapian/xapian-bindings-python_1.0.14.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "Open Source Search Engine Library python bindings"
+HOMEPAGE = "http://xapian.org"
+SECTION = "devel/libs"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "xapian-core"
+PR = "r0"
+
+SRC_URI = "http://www.oligarchy.co.uk/xapian/${PV}/xapian-bindings-${PV}.tar.gz"
+
+S = "${WORKDIR}/xapian-bindings-${PV}"
+
+inherit autotools pkgconfig distutils-base
+
+export XAPIAN_CONFIG = "${STAGING_BINDIR_NATIVE}/xapian-config"
+
+EXTRA_OECONF = "--with-python --without-php --without-ruby --without-tcl \
+ --without-csharp --without-java"
+
+do_configure () {
+ BUILD_SYS=${BUILD_SYS} HOST_SYS=${MULTIMACH_HOST_SYS} \
+ autotools_do_configure
+}
+
+# we don't want make to generate pyc and pyo files, but make install
+# expects them later
+do_compile() {
+ oe_runmake PYTHON=true
+ touch ${S}/python/xapian.pyc
+ touch ${S}/python/xapian.pyo
+}
+
+# workaround for bad installation destination and removal of fake .py? files
+do_install_append() {
+ mv ${D}/${STAGING_DIR_HOST}/usr/* ${D}/usr/
+ rm ${D}/usr/lib/python2.6/site-packages/xapian.py?
+}
+
+do_stage () {
+ autotools_stage_all
+}
+