Mercurial > mxe-octave
view src/xapian-core.mk @ 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 | dcf309ba4980 |
children | 95b6461420ba |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := xapian-core $(PKG)_IGNORE := $(PKG)_CHECKSUM := 1be1896ab11a3a66c6c0ade962c700d96678116e $(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 define $(PKG)_BUILD cd '$(1)' && ./configure \ --host='$(TARGET)' \ --build="`config.guess`" \ --prefix='$(PREFIX)/$(TARGET)' \ --enable-static $(MAKE) -C '$(1)' -j '$(JOBS)' install endef