source: packages/lang/xapian-bindings/Makefile @ 19848

Last change on this file since 19848 was 19848, checked in by lars, 7 years ago

[packages] Use include_mk

  • Property svn:eol-style set to native
File size: 977 bytes
Line 
1#
2# Copyright (C) 2008-2010 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://oligarchy.co.uk/xapian/
31  DEPENDS:=+python-mini +libxapian
32endef
33
34define Build/Configure
35  $(call Build/Configure/Default, --with-python)
36endef
37
38define Package/python-xapian/install
39        $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
40        $(CP) $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* $(1)$(PYTHON_PKG_DIR)
41endef
42
43$(eval $(call BuildPackage,python-xapian))
44
45
Note: See TracBrowser for help on using the repository browser.