Mercurial > mxe-octave
annotate src/sqlite.mk @ 3013:bcc26ffe9a0f
use variable for --host and --build configure arguments
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 12:40:32 -0400 |
parents | 100e618349f7 |
children | 5ef49fb3299d |
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 | 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 := |
2795 | 6 $(PKG)_CHECKSUM := c464e0e3efe98227c6546b9b1e786b51b8b642fc |
1498
1bb2b5a951f5
fixed package sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
1494
diff
changeset
|
7 $(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
|
8 $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz |
318 | 9 $(PKG)_URL := http://www.sqlite.org/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc | |
11 | |
12 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2517
diff
changeset
|
13 $(WGET) -q -O- 'http://www.sqlite.org/download.html' | \ |
1494 | 14 $(SED) -n 's,.*sqlite-autoconf-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
318 | 15 head -1 |
16 endef | |
17 | |
18 define $(PKG)_BUILD | |
19 cd '$(1)' && ./configure \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
20 $(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
|
21 $(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
|
22 --prefix='$(HOST_PREFIX)' \ |
318 | 23 --disable-readline \ |
935
9993be51f18d
disable the use of the buggy Pthreads-w32 library in packages freetds, guile, libmikmod, libshout, libxml2, sqlite, tiff, vorbis and xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
831
diff
changeset
|
24 --disable-threadsafe |
2813
d021d5eda61e
package sqlite: install sqlite3.exe
Mark Brand <mabrand@mabrand.nl>
parents:
2795
diff
changeset
|
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
318 | 26 endef |