view src/sqlite.mk @ 3919:282ca0892ed0

of-ga: add to mxe * src/of-ga.mk: new file * build_packages.m: add install of ga * index.html: add of-ga * Makefile.in: add ga * dist-files.mk: add of-ga.mk
author John Donoghue <john.donoghue@ieee.org>
date Sun, 26 Apr 2015 09:30:29 -0400
parents 01c6c2eac4f7
children 1a517a309475
line wrap: on
line source

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

PKG             := sqlite
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 3080803
$(PKG)_CHECKSUM := 2fe3f6226a2a08a2e814b97cd53e36bb3c597112
$(PKG)_SUBDIR   := $(PKG)-autoconf-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := http://www.sqlite.org/2015/$($(PKG)_FILE)
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    $(WGET) -q -O- 'http://www.sqlite.org/download.html' | \
    $(SED) -n 's,.*sqlite-autoconf-\([0-9][^>]*\)\.tar.*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    cd '$(1)' && ./configure \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        $(ENABLE_SHARED_OR_STATIC) \
        --prefix='$(HOST_PREFIX)' \
        --disable-readline \
        --disable-threadsafe
    $(MAKE) -C '$(1)' -j '$(JOBS)' 
    $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)'
endef