2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2009-04-15 10:03:55 +01:00
|
|
|
|
|
|
|
PKG := sqlite
|
2017-03-05 03:41:39 +00:00
|
|
|
$(PKG)_WEBSITE := https://www.sqlite.org/
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_DESCR := SQLite
|
2009-09-20 13:36:46 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2019-10-11 15:23:21 +01:00
|
|
|
$(PKG)_VERSION := 3300100
|
|
|
|
$(PKG)_CHECKSUM := 8c5a50db089bd2a1b08dbc5b00d2027602ca7ff238ba7658fabca454d4298e60
|
2010-12-11 22:19:47 +00:00
|
|
|
$(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION)
|
2010-12-12 00:16:13 +00:00
|
|
|
$(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz
|
2019-02-08 16:27:29 +00:00
|
|
|
$(PKG)_URL := https://www.sqlite.org/2019/$($(PKG)_FILE)
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc
|
2009-04-15 10:03:55 +01:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2017-03-05 03:41:39 +00:00
|
|
|
$(WGET) -q -O- 'https://www.sqlite.org/download.html' | \
|
2010-12-08 08:32:17 +00:00
|
|
|
$(SED) -n 's,.*sqlite-autoconf-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
2009-04-15 10:03:55 +01:00
|
|
|
head -1
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
2014-02-09 12:29:51 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
2009-04-15 10:03:55 +01:00
|
|
|
--disable-readline \
|
2014-03-10 21:06:08 +00:00
|
|
|
--enable-threadsafe \
|
2017-12-16 08:36:50 +00:00
|
|
|
CFLAGS="-Os -DSQLITE_ENABLE_COLUMN_METADATA"
|
2015-05-08 11:07:30 +01:00
|
|
|
$(MAKE) -C '$(1)' -j 1 install
|
2009-04-15 10:03:55 +01:00
|
|
|
endef
|