Mercurial > mxe-octave
view src/sqlite.mk @ 4865:38bc9910cd35
sqlite: autoreconf and use --enable-threadsafe
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 30 Oct 2018 12:19:02 -0400 |
parents | d7190db109f2 |
children | d1a72a392942 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := sqlite $(PKG)_IGNORE := $(PKG)_VERSION := 3250200 $(PKG)_CHECKSUM := aedfbdc14eb700099434d6a743135743cff47393 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.sqlite.org/2018/$($(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 $(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