Mercurial > mxe-octave
annotate src/sqlite.mk @ 831:47a4cf923d20
upgrade package sqlite
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 08 Apr 2010 11:28:51 +0200 |
parents | 29f1ba4559ae |
children | 9993be51f18d |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
630
diff
changeset
|
1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
2 # See doc/index.html for further information. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
409
diff
changeset
|
3 |
318 | 4 # SQLite |
5 PKG := sqlite | |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
432
diff
changeset
|
6 $(PKG)_IGNORE := |
831
47a4cf923d20
upgrade package sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
7 $(PKG)_VERSION := 3.6.23.1 |
47a4cf923d20
upgrade package sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
8 $(PKG)_CHECKSUM := 0f4a1390f6405b8f00ecc3694c99ba4e87b40308 |
318 | 9 $(PKG)_SUBDIR := sqlite-$($(PKG)_VERSION) |
10 $(PKG)_FILE := sqlite-amalgamation-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_WEBSITE := http://www.sqlite.org/ | |
12 $(PKG)_URL := http://www.sqlite.org/$($(PKG)_FILE) | |
13 $(PKG)_DEPS := gcc | |
14 | |
15 define $(PKG)_UPDATE | |
16 wget -q -O- 'http://www.sqlite.org/download.html' | \ | |
17 grep 'sqlite-amalgamation-' | \ | |
18 $(SED) -n 's,.*sqlite-amalgamation-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
19 head -1 | |
20 endef | |
21 | |
22 define $(PKG)_BUILD | |
23 cd '$(1)' && ./configure \ | |
24 --host='$(TARGET)' \ | |
25 --disable-shared \ | |
26 --prefix='$(PREFIX)/$(TARGET)' \ | |
27 --disable-readline \ | |
28 LIBS='-lws2_32' | |
29 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
30 endef |