2 # Copyright (C) 2008-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=xapian-bindings
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://oligarchy.co.uk/xapian/$(PKG_VERSION)
16 PKG_MD5SUM:=4bfe673c71ac074e349ef691d7ba56d0
20 include $(INCLUDE_DIR)/package.mk
21 $(call include_mk, python-package.mk)
25 define Package/python-xapian
29 TITLE:=xapian python bindings
30 URL:=http://xapian.org/
31 DEPENDS:=+python-mini +libxapian
35 pkgpylib_DATA=xapian/__init__.py
41 PYTHON_LIB="$(PYTHON_PKG_DIR)" \
43 define Package/python-xapian/install
44 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
45 $(CP) $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* $(1)$(PYTHON_PKG_DIR)/
48 $(eval $(call BuildPackage,python-xapian))