mxe/src/sqlite.mk

28 lines
865 B
Makefile
Raw Normal View History

# This file is part of MXE. See LICENSE.md for licensing information.
2009-04-15 10:03:55 +01:00
PKG := sqlite
$(PKG)_WEBSITE := http://www.sqlite.org/
$(PKG)_DESCR := SQLite
$(PKG)_IGNORE :=
2017-02-13 17:17:35 +00:00
$(PKG)_VERSION := 3170000
$(PKG)_CHECKSUM := a4e485ad3a16e054765baf6371826b5000beed07e626510896069c0bf013874c
2010-12-11 22:19:47 +00:00
$(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz
2017-01-03 10:13:32 +00:00
$(PKG)_URL := http://www.sqlite.org/2017/$($(PKG)_FILE)
2009-04-15 10:03:55 +01:00
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://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 \
$(MXE_CONFIGURE_OPTS) \
2009-04-15 10:03:55 +01:00
--disable-readline \
2014-03-10 21:06:08 +00:00
--enable-threadsafe \
CFLAGS="-Os"
2015-05-08 11:07:30 +01:00
$(MAKE) -C '$(1)' -j 1 install
2009-04-15 10:03:55 +01:00
endef