view src/xapian-core.mk @ 2993:1f944d8d6fe5

Modfications for libuuid dependancies * index.html: Added uuid package entry. * src/fltk-2-uuid-mod.patch: New patch file * src/fltk.m: Added uuid to fltk dependancies. * src/octave.mk (PKG_BUILD): Removed build of uuid.dll. * src/uuid.mk: New file.
author John Donoghue <john.donoghue@ieee.org>
date Sat, 25 May 2013 12:37:14 -0400
parents 47558e958113
children 100e618349f7
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := xapian-core
$(PKG)_IGNORE   :=
$(PKG)_CHECKSUM := 2b96800280fee41eed767289620172f5226c9c4f
$(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_SHARED_OR_STATC)
    $(MAKE) -C '$(1)' -j '$(JOBS)' install
endef