Mercurial > mxe-octave
changeset 2814:cf9aac709d90
package xapian-core: add missing update macro
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Fri, 12 Oct 2012 11:50:13 +0200 |
parents | d021d5eda61e |
children | 95b6461420ba |
files | src/xapian-core.mk |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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,.*<a HREF="http://oligarchy.co.uk/xapian/\([^/]*\)/xapian-core[^"]*">.*,\1,p' | \ + head -1 +endef + define $(PKG)_BUILD cd '$(1)' && ./configure \ --host='$(TARGET)' \