mxe/src/xapian-core.mk

26 lines
837 B
Makefile
Raw Normal View History

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-04-20 05:52:18 +01:00
$(PKG)_CHECKSUM := 3d2ea66e9930451dcac4b96f321284f3dee98d51
2012-05-10 04:41:24 +01:00
$(PKG)_SUBDIR := xapian-core-$($(PKG)_VERSION)
$(PKG)_FILE := xapian-core-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://oligarchy.co.uk/xapian/$($(PKG)_VERSION)/xapian-core-$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS := gcc zlib
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