annotate src/sqlite.mk @ 6332:b5c1bd9c27ac

* src/sqlite.mk: update to 3390200
author John Donoghue <john.donoghue@ieee.org>
date Fri, 22 Jul 2022 08:06:40 -0400
parents aecb1820dfc3
children f180d62473e5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2288
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See 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
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := sqlite
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 432
diff changeset
5 $(PKG)_IGNORE :=
6332
b5c1bd9c27ac * src/sqlite.mk: update to 3390200
John Donoghue <john.donoghue@ieee.org>
parents: 6315
diff changeset
6 $(PKG)_VERSION := 3390200
b5c1bd9c27ac * src/sqlite.mk: update to 3390200
John Donoghue <john.donoghue@ieee.org>
parents: 6315
diff changeset
7 $(PKG)_CHECKSUM := fe360190393296b956c5db2a448ae2b5692d0377
1498
1bb2b5a951f5 fixed package sqlite
Volker Grabsch <vog@notjusthosting.com>
parents: 1494
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1498
diff changeset
9 $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz
6050
94f0d0af14d2 * src/sqlite.mk: update to v3370200
John Donoghue <john.donoghue@ieee.org>
parents: 6023
diff changeset
10 $(PKG)_URL := http://www.sqlite.org/2022/$($(PKG)_FILE)
5461
d7a5ef5c3882 * src/sqlite.mk: tercap dependancy only for mingw
John Donoghue <john.donoghue@ieee.org>
parents: 5454
diff changeset
11 $(PKG)_DEPS := readline zlib
d7a5ef5c3882 * src/sqlite.mk: tercap dependancy only for mingw
John Donoghue <john.donoghue@ieee.org>
parents: 5454
diff changeset
12
d7a5ef5c3882 * src/sqlite.mk: tercap dependancy only for mingw
John Donoghue <john.donoghue@ieee.org>
parents: 5454
diff changeset
13 ifeq ($(MXE_SYSTEM),mingw)
d7a5ef5c3882 * src/sqlite.mk: tercap dependancy only for mingw
John Donoghue <john.donoghue@ieee.org>
parents: 5454
diff changeset
14 $(PKG)_DEPS += termcap
d7a5ef5c3882 * src/sqlite.mk: tercap dependancy only for mingw
John Donoghue <john.donoghue@ieee.org>
parents: 5454
diff changeset
15 endif
318
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2517
diff changeset
18 $(WGET) -q -O- 'http://www.sqlite.org/download.html' | \
1494
a4a89d5e4558 upgrade package sqlite
Mark Brand <mabrand@mabrand.nl>
parents: 1306
diff changeset
19 $(SED) -n 's,.*sqlite-autoconf-\([0-9][^>]*\)\.tar.*,\1,p' | \
318
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 head -1
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 endef
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 define $(PKG)_BUILD
5105
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
24 if [ $(MXE_NATIVE_BUILD) = no ]; then \
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
25 mkdir '$(1).native' && cd '$(1).native' && '$(1)/configure' \
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
26 --enable-static --disable-shared \
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
27 --prefix='$(BUILD_TOOLS_PREFIX)' && \
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
28 $(MAKE) -C '$(1).native' -j 1 install; \
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
29 fi
5220
3ed8bcdf4672 * src/sqlite.mk: onlt remove pkg-config cflags in windows
John Donoghue
parents: 5183
diff changeset
30 if [ $(MXE_WINDOWS_BUILD) = yes ]; then \
3ed8bcdf4672 * src/sqlite.mk: onlt remove pkg-config cflags in windows
John Donoghue
parents: 5183
diff changeset
31 $(SED) -i 's/^Cflags/#Cflags/;' '$(1)/sqlite3.pc.in'; \
3ed8bcdf4672 * src/sqlite.mk: onlt remove pkg-config cflags in windows
John Donoghue
parents: 5183
diff changeset
32 fi
6248
1c4922328c4f Force autoreconf some packages.
Markus Mützel <markus.muetzel@gmx.de>
parents: 6220
diff changeset
33 cd '$(1)' && autoreconf -fi && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
34 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2813
diff changeset
35 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
36 --prefix='$(HOST_PREFIX)' \
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4600
diff changeset
37 CFLAGS="-Os -DSQLITE_ENABLE_COLUMN_METADATA" \
4865
38bc9910cd35 sqlite: autoreconf and use --enable-threadsafe
John W. Eaton <jwe@octave.org>
parents: 4858
diff changeset
38 --disable-readline
4008
332e6ebba379 * sqlite.mk: Avoid parallel build problem.
John W. Eaton <jwe@octave.org>
parents: 4001
diff changeset
39 $(MAKE) -C '$(1)' -j 1
5425
7ba6499a66d4 Proj requires the sqlite binary, tiff and curl libs
John Donoghue <john.donoghue@ieee.org>
parents: 5414
diff changeset
40 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_DOCS) DESTDIR='$(3)'
318
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 endef