Mercurial > mxe-octave
annotate src/expat.mk @ 4412:32b1643d16c1
expat: update to v2.2.1
* src/expat.mk: update version, checksum
author | John D |
---|---|
date | Mon, 10 Jul 2017 17:01:02 -0400 |
parents | 6ee178f71a10 |
children | cae2eb0ab1e3 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2323
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:
408
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 PKG := expat |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
422
diff
changeset
|
5 $(PKG)_IGNORE := |
4412 | 6 $(PKG)_VERSION := 2.2.1 |
7 $(PKG)_CHECKSUM := f45eb724f182776a9cacec9ed70d549e87198987 | |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
8 $(PKG)_SUBDIR := expat-$($(PKG)_VERSION) |
4143 | 9 $(PKG)_FILE := expat-$($(PKG)_VERSION).tar.bz2 |
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
|
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/expat/expat/$($(PKG)_VERSION)/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := |
188 | 12 |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://sourceforge.net/projects/expat/files/expat/' | \ |
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
|
15 $(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
|
16 head -1 |
188 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
2997 | 21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
22 $(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:
2525
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
3090
e9b0732bd46c
[MSVC] enable expat compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
24 --prefix='$(HOST_PREFIX)' && $(CONFIGURE_POST_HOOK) |
3293
cf6f40cededb
Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3090
diff
changeset
|
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= DESTDIR='$(3)' |
188 | 26 endef |