view src/sqlite.mk @ 3421:7e0b4087cd58

Add octave forge tsa package * Makefile.in: Add of-tsa. * build_packages.m: Add install of tsa-4.2.7.tar.gz * dist-files: Add of-tsa.mk. * index.html: Added of-tsa-package. * src/of-tsa.mk: New file. * src/libgomp.mk: Install to HOST_PREFIX
author John Donoghue <john.donoghue@ieee.org>
date Mon, 13 Jan 2014 21:28:53 -0500
parents 5ef49fb3299d
children 13be64f9f16d
line wrap: on
line source

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

PKG             := sqlite
$(PKG)_IGNORE   :=
$(PKG)_CHECKSUM := c464e0e3efe98227c6546b9b1e786b51b8b642fc
$(PKG)_SUBDIR   := $(PKG)-autoconf-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := http://www.sqlite.org/$($(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)' install
endef