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.
28 lines
832 B
28 lines
832 B
# This file is part of MXE.
|
|
# See index.html for further information.
|
|
|
|
PKG := sqlite
|
|
$(PKG)_IGNORE :=
|
|
$(PKG)_CHECKSUM := e31958e56b1d7bef9433b1ff2e875c8c290d37f4
|
|
$(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION)
|
|
$(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz
|
|
$(PKG)_URL := http://www.sqlite.org/2013/$($(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 \
|
|
--host='$(TARGET)' \
|
|
--build="`config.guess`" \
|
|
--disable-shared \
|
|
--prefix='$(PREFIX)/$(TARGET)' \
|
|
--disable-readline \
|
|
--disable-threadsafe
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
|
endef
|