source: branches/packages_10.03.1/lang/xapian-bindings/Makefile @ 28417

Last change on this file since 28417 was 28417, checked in by nico, 5 years ago

[backfire/packages] merge [28415] & [28416]

  • Property svn:eol-style set to native
File size: 978 bytes
Line 
1#
2# Copyright (C) 2008-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=xapian-bindings
11PKG_VERSION:=1.0.7
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://oligarchy.co.uk/xapian/$(PKG_VERSION)
16PKG_MD5SUM:=a80e51f4971d7505abcc0bdde912266b
17
18PKG_FIXUP:=libtool
19
20include $(INCLUDE_DIR)/package.mk
21$(call include_mk, python-package.mk)
22
23PKG_INSTALL=1
24
25define Package/python-xapian
26  SECTION:=lang
27  CATEGORY:=Languages
28  SUBMENU:=Python
29  TITLE:=xapian python bindings
30  URL:=http://xapian.org/
31  DEPENDS:=+python-mini +libxapian
32endef
33
34CONFIGURE_ARGS+= \
35        --with-python \
36
37CONFIGURE_VARS+= \
38        PYTHON_LIB="$(PYTHON_PKG_DIR)" \
39
40define Package/python-xapian/install
41        $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
42        $(CP) $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* $(1)$(PYTHON_PKG_DIR)/
43endef
44
45$(eval $(call BuildPackage,python-xapian))
46
47
Note: See TracBrowser for help on using the repository browser.