annotate src/sqlite.mk @ 714:29f1ba4559ae

point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 08 Feb 2010 00:58:06 +0100
parents dab071eac9c0
children 47a4cf923d20
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # SQLite
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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 :=
630
dc4e92344c91 update version of package sqlite
Mark Brand <mabrand@mabrand.nl>
parents: 586
diff changeset
7 $(PKG)_VERSION := 3.6.22
dc4e92344c91 update version of package sqlite
Mark Brand <mabrand@mabrand.nl>
parents: 586
diff changeset
8 $(PKG)_CHECKSUM := b0b87bd1945528723083f6830094f5c676829164
318
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := sqlite-$($(PKG)_VERSION)
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := sqlite-amalgamation-$($(PKG)_VERSION).tar.gz
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://www.sqlite.org/
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://www.sqlite.org/$($(PKG)_FILE)
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://www.sqlite.org/download.html' | \
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep 'sqlite-amalgamation-' | \
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n 's,.*sqlite-amalgamation-\([0-9][^>]*\)\.tar.*,\1,p' | \
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 cd '$(1)' && ./configure \
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --host='$(TARGET)' \
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-shared \
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --prefix='$(PREFIX)/$(TARGET)' \
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --disable-readline \
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 LIBS='-lws2_32'
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
0ca9c88dd82d new package: sqlite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef