annotate src/sqlite.mk @ 2525:4d0f3a9da57e

all packages: use $(WGET) portability variable
author Tony Theodore <tonyt@logyst.com>
date Wed, 09 May 2012 01:16:05 +1000
parents d48ad9d6c87c
children 86030cf3b9d8
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 :=
2517
d48ad9d6c87c update package sqlite
Mark Brand <mabrand@mabrand.nl>
parents: 2365
diff changeset
6 $(PKG)_CHECKSUM := 30e6b0912f074cff5563697367c2ba9608d83bd3
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
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_URL := http://www.sqlite.org/$($(PKG)_FILE)
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_DEPS := gcc
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
a4a89d5e4558 upgrade package sqlite
Mark Brand <mabrand@mabrand.nl>
parents: 1306
diff changeset
14 $(SED) -n 's,.*sqlite-autoconf-\([0-9][^>]*\)\.tar.*,\1,p' | \
318
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 --host='$(TARGET)' \
2517
d48ad9d6c87c update package sqlite
Mark Brand <mabrand@mabrand.nl>
parents: 2365
diff changeset
21 --build="`config.guess`" \
318
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --disable-shared \
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --prefix='$(PREFIX)/$(TARGET)' \
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --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
25 --disable-threadsafe
318
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef