2 # Copyright (C) 2008-2010 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
:=a80e51f4971d7505abcc0bdde912266b
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
34 define Build
/Configure
35 $(call Build
/Configure
/Default
, --with-python
)
38 define Package
/python-xapian
/install
39 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
40 $(CP
) $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* $(1)$(PYTHON_PKG_DIR
)
43 $(eval
$(call BuildPackage
,python-xapian
))