You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
865 B
26 lines
865 B
# This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
PKG := xapian-core
|
|
$(PKG)_WEBSITE := https://xapian.org/
|
|
$(PKG)_DESCR := Xapian-Core
|
|
$(PKG)_IGNORE :=
|
|
$(PKG)_VERSION := 1.2.21
|
|
$(PKG)_CHECKSUM := 63f48758fbd13fa8456dd4cf9bf3ec35a096e4290f14a51ac7df23f78c162d3f
|
|
$(PKG)_SUBDIR := xapian-core-$($(PKG)_VERSION)
|
|
$(PKG)_FILE := xapian-core-$($(PKG)_VERSION).tar.xz
|
|
$(PKG)_URL := https://oligarchy.co.uk/xapian/$($(PKG)_VERSION)/$($(PKG)_FILE)
|
|
$(PKG)_DEPS := cc zlib
|
|
|
|
define $(PKG)_UPDATE
|
|
$(WGET) -q -O- https://xapian.org/download | \
|
|
$(SED) -n 's,.*<a HREF="https://oligarchy.co.uk/xapian/\([^/]*\)/xapian-core[^"]*">.*,\1,p' | \
|
|
head -1
|
|
endef
|
|
|
|
define $(PKG)_BUILD
|
|
cd '$(1)' && ./configure \
|
|
$(MXE_CONFIGURE_OPTS)
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
|
$(MAKE) -C '$(1)' -j 1 install
|
|
endef
|