Mercurial > mxe-octave
view src/sqlite.mk @ 5176:e8756072570c
* src/sqlite.mk: update to v3.3.0
author | John Donoghue |
---|---|
date | Thu, 10 Oct 2019 08:40:40 -0400 |
parents | 8c37a632b348 |
children | e960af2fbfc0 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := sqlite $(PKG)_IGNORE := $(PKG)_VERSION := 3300000 $(PKG)_CHECKSUM := 785c0f6f00fe1871cb1dd97893267cb50db03b9b $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.sqlite.org/2019/$($(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 if [ $(MXE_NATIVE_BUILD) = no ]; then \ mkdir '$(1).native' && cd '$(1).native' && '$(1)/configure' \ --enable-static --disable-shared \ --prefix='$(BUILD_TOOLS_PREFIX)' && \ $(MAKE) -C '$(1).native' -j 1 install; \ fi $(SED) -i 's/^Cflags/#Cflags/;' '$(1)/sqlite3.pc.in' cd '$(1)' && autoreconf && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ CFLAGS="-Os -DSQLITE_ENABLE_COLUMN_METADATA" \ --disable-readline $(MAKE) -C '$(1)' -j 1 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' endef