annotate src/expat.mk @ 1462:61dda1d437e2

improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 01 Dec 2010 03:44:21 +0100
parents 405738cf5761
children 4cea167451b8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 448
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: 408
diff changeset
3
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # Expat XML Parser
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 PKG := expat
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 422
diff changeset
6 $(PKG)_IGNORE :=
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
7 $(PKG)_VERSION := 2.0.1
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_CHECKSUM := 663548c37b996082db1f2f2c32af060d7aa15c2d
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_SUBDIR := expat-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_FILE := expat-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
11 $(PKG)_WEBSITE := http://expat.sourceforge.net/
422
d2f5eb27e051 improved download URLs for all SourceForge packages to ensure that the selected SOURCEFORGE_MIRROR is really used
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/expat/expat/$($(PKG)_VERSION)/$($(PKG)_FILE)
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
13 $(PKG)_DEPS := gcc
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
1462
61dda1d437e2 improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
16 wget -q -O- 'http://sourceforge.net/projects/expat/files/expat/' | \
61dda1d437e2 improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
17 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
61dda1d437e2 improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
18 head -1
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --host='$(TARGET)' \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-shared \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --prefix='$(PREFIX)/$(TARGET)'
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef