Mercurial > mxe-octave
view src/sqlite.mk @ 5425:7ba6499a66d4
Proj requires the sqlite binary, tiff and curl libs
* src/sqlite.mk: install exe
* src/proj.mk: add requirment for curl and tiff
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 22 May 2020 10:09:13 -0400 |
parents | cb59f0472637 |
children | d5a4568f8c7a |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := sqlite $(PKG)_IGNORE := $(PKG)_VERSION := 3310100 $(PKG)_CHECKSUM := 0c30f5b22152a8166aa3bebb0f4bc1f3e9cc508b $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.sqlite.org/2020/$($(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 if [ $(MXE_WINDOWS_BUILD) = yes ]; then \ $(SED) -i 's/^Cflags/#Cflags/;' '$(1)/sqlite3.pc.in'; \ fi 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 $(MXE_DISABLE_DOCS) DESTDIR='$(3)' endef