annotate src/sqlite.mk @ 5425:7ba6499a66d4

Proj requires the sqlite binary, tiff and curl libs * src/sqlite.mk: install exe * src/proj.mk: add requirment for curl and tiff
author John Donoghue <john.donoghue@ieee.org>
date Fri, 22 May 2020 10:09:13 -0400
parents cb59f0472637
children d5a4568f8c7a
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 :=
5290
76f9763e3dd5 * src/sqlite.mk: update to version 3310100
John Donoghue
parents: 5220
diff changeset
6 $(PKG)_VERSION := 3310100
76f9763e3dd5 * src/sqlite.mk: update to version 3310100
John Donoghue
parents: 5220
diff changeset
7 $(PKG)_CHECKSUM := 0c30f5b22152a8166aa3bebb0f4bc1f3e9cc508b
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
5290
76f9763e3dd5 * src/sqlite.mk: update to version 3310100
John Donoghue
parents: 5220
diff changeset
10 $(PKG)_URL := http://www.sqlite.org/2020/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS :=
318
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2517
diff changeset
14 $(WGET) -q -O- 'http://www.sqlite.org/download.html' | \
1494
a4a89d5e4558 upgrade package sqlite
Mark Brand <mabrand@mabrand.nl>
parents: 1306
diff changeset
15 $(SED) -n 's,.*sqlite-autoconf-\([0-9][^>]*\)\.tar.*,\1,p' | \
318
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
5105
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
20 if [ $(MXE_NATIVE_BUILD) = no ]; then \
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
21 mkdir '$(1).native' && cd '$(1).native' && '$(1)/configure' \
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
22 --enable-static --disable-shared \
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
23 --prefix='$(BUILD_TOOLS_PREFIX)' && \
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
24 $(MAKE) -C '$(1).native' -j 1 install; \
ce340a7b24bd Update to proj 6.1.1
John Donoghue
parents: 5055
diff changeset
25 fi
5220
3ed8bcdf4672 * src/sqlite.mk: onlt remove pkg-config cflags in windows
John Donoghue
parents: 5183
diff changeset
26 if [ $(MXE_WINDOWS_BUILD) = yes ]; then \
3ed8bcdf4672 * src/sqlite.mk: onlt remove pkg-config cflags in windows
John Donoghue
parents: 5183
diff changeset
27 $(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
28 fi
4865
38bc9910cd35 sqlite: autoreconf and use --enable-threadsafe
John W. Eaton <jwe@octave.org>
parents: 4858
diff changeset
29 cd '$(1)' && autoreconf && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
30 $(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
31 $(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
32 --prefix='$(HOST_PREFIX)' \
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents: 4600
diff changeset
33 CFLAGS="-Os -DSQLITE_ENABLE_COLUMN_METADATA" \
4865
38bc9910cd35 sqlite: autoreconf and use --enable-threadsafe
John W. Eaton <jwe@octave.org>
parents: 4858
diff changeset
34 --disable-readline
4008
332e6ebba379 * sqlite.mk: Avoid parallel build problem.
John W. Eaton <jwe@octave.org>
parents: 4001
diff changeset
35 $(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
36 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_DOCS) DESTDIR='$(3)'
318
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 endef