You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/sqlite.mk

26 lines
797 B

# This file is part of MXE. See LICENSE.md for licensing information.
PKG := sqlite
$(PKG)_IGNORE :=
8 years ago
$(PKG)_VERSION := 3150200
$(PKG)_CHECKSUM := 07b35063b9386865b78226cdaca9a299d938a87aaa8fdc4d73edb0cef30f3149
$(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz
9 years ago
$(PKG)_URL := http://www.sqlite.org/2016/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
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
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--disable-readline \
--enable-threadsafe \
CFLAGS="-Os"
9 years ago
$(MAKE) -C '$(1)' -j 1 install
endef