2012-05-10 04:41:24 +01:00
|
|
|
# This file is part of MXE.
|
|
|
|
# See index.html for further information.
|
|
|
|
|
|
|
|
PKG := xapian-core
|
|
|
|
$(PKG)_IGNORE :=
|
2013-12-26 02:34:28 +00:00
|
|
|
$(PKG)_VERSION := 1.2.16
|
|
|
|
$(PKG)_CHECKSUM := c280ee15b14416043874f7754e0b054ac0624e7b
|
2012-05-10 04:41:24 +01:00
|
|
|
$(PKG)_SUBDIR := xapian-core-$($(PKG)_VERSION)
|
2013-12-26 02:34:28 +00:00
|
|
|
$(PKG)_FILE := xapian-core-$($(PKG)_VERSION).tar.xz
|
|
|
|
$(PKG)_URL := http://oligarchy.co.uk/xapian/$($(PKG)_VERSION)/$($(PKG)_FILE)
|
2012-05-10 04:41:24 +01:00
|
|
|
$(PKG)_DEPS := gcc zlib
|
|
|
|
|
2012-10-12 10:50:13 +01:00
|
|
|
define $(PKG)_UPDATE
|
|
|
|
$(WGET) -q -O- http://xapian.org/download | \
|
|
|
|
$(SED) -n 's,.*<a HREF="http://oligarchy.co.uk/xapian/\([^/]*\)/xapian-core[^"]*">.*,\1,p' | \
|
|
|
|
head -1
|
|
|
|
endef
|
|
|
|
|
2012-05-10 04:41:24 +01:00
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
|
|
|
--host='$(TARGET)' \
|
2012-09-18 22:13:03 +01:00
|
|
|
--build="`config.guess`" \
|
2012-05-10 04:41:24 +01:00
|
|
|
--prefix='$(PREFIX)/$(TARGET)' \
|
|
|
|
--enable-static
|
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
|
|
|
endef
|
2014-04-06 14:18:15 +01:00
|
|
|
|
|
|
|
$(PKG)_BUILD_SHARED =
|