Mercurial > mxe-octave
view src/sqlite.mk @ 6532:74666bb9cc46
of-tisean: Fix compatibility with Octave 9.
* src/of-tisean-3-octave-9-compat.patch: Add patch that replaces functions that
have been deprecated in Octave 7 and removed from Octave 9.
* dist-files.mk: Add new file to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 18 Nov 2022 19:02:02 +0100 |
parents | 105ab93370af |
children | 16a81cd804e6 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := sqlite $(PKG)_IGNORE := $(PKG)_VERSION := 3390400 $(PKG)_CHECKSUM := c4c5c39269d1b9bb1487cff580c1f583608229b2 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.sqlite.org/2022/$($(PKG)_FILE) $(PKG)_DEPS := readline zlib ifeq ($(MXE_SYSTEM),mingw) $(PKG)_DEPS += termcap endif 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 if [ $(MXE_WINDOWS_BUILD) = yes ]; then \ $(SED) -i 's/^Cflags/#Cflags/;' '$(1)/sqlite3.pc.in'; \ fi cd '$(1)' && autoreconf -fi && ./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 $(MXE_DISABLE_DOCS) DESTDIR='$(3)' endef