# HG changeset patch # User Mark Brand # Date 1350035413 -7200 # Node ID cf9aac709d9003cb70e4c64a7ff7aa2b68975be7 # Parent d021d5eda61e35e07e7c8d6529dee66b5a5aa764 package xapian-core: add missing update macro diff -r d021d5eda61e -r cf9aac709d90 src/xapian-core.mk --- a/src/xapian-core.mk Thu Oct 11 21:01:21 2012 +0200 +++ b/src/xapian-core.mk Fri Oct 12 11:50:13 2012 +0200 @@ -9,6 +9,12 @@ $(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,.*.*,\1,p' | \ + head -1 +endef + define $(PKG)_BUILD cd '$(1)' && ./configure \ --host='$(TARGET)' \