1 DESCRIPTION = "Open Source Search Engine Library python bindings"
2 HOMEPAGE = "http://xapian.org"
6 DEPENDS = "xapian-core xapian-core-native"
9 SRC_URI = "http://www.oligarchy.co.uk/xapian/${PV}/xapian-bindings-${PV}.tar.gz"
11 S = "${WORKDIR}/xapian-bindings-${PV}"
13 inherit autotools pkgconfig distutils-base
15 export XAPIAN_CONFIG = "${STAGING_BINDIR_NATIVE}/xapian-config"
17 EXTRA_OECONF = "--with-python --without-php --without-ruby --without-tcl \
18 --without-csharp --without-java"
21 BUILD_SYS=${BUILD_SYS} HOST_SYS=${MULTIMACH_HOST_SYS} \
22 autotools_do_configure
25 # we don't want make to generate pyc and pyo files, but make install
28 oe_runmake PYTHON=true
29 touch ${S}/python/xapian.pyc
30 touch ${S}/python/xapian.pyo
33 # workaround for bad installation destination and removal of fake .py? files
35 mv ${D}/${STAGING_DIR_HOST}/usr/* ${D}/usr/
36 rm ${D}/usr/lib/python2.6/site-packages/xapian.py?