nuke $Id$ in /packages as well
[openwrt/svn-archive/archive.git] / lang / xapian-bindings / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=xapian-bindings
11 PKG_VERSION:=1.0.7
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://oligarchy.co.uk/xapian/$(PKG_VERSION)
16 PKG_FIXUP:=libtool
17
18 include $(INCLUDE_DIR)/package.mk
19 -include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
20
21 PKG_INSTALL=1
22
23 define Package/python-xapian
24 SECTION:=lang
25 CATEGORY:=Languages
26 SUBMENU:=Python
27 TITLE:=xapian python bindings
28 URL:=http://oligarchy.co.uk/xapian/
29 DEPENDS:=+python-mini +libxapian
30 endef
31
32 define Build/Configure
33 $(call Build/Configure/Default, --with-python)
34 endef
35
36 define Package/python-xapian/install
37 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
38 $(CP) $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* $(1)$(PYTHON_PKG_DIR)
39 endef
40
41 $(eval $(call BuildPackage,python-xapian))
42
43