annotate src/expat.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents 89e0a28cc018
children
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: 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 :=
7112
89e0a28cc018 * src/expat.mk: update to v2.6.2
John Donoghue <john.donoghue@ieee.org>
parents: 7092
diff changeset
6 $(PKG)_VERSION := 2.6.2
89e0a28cc018 * src/expat.mk: update to v2.6.2
John Donoghue <john.donoghue@ieee.org>
parents: 7092
diff changeset
7 $(PKG)_CHECKSUM := 49d860835c510e76f9ba428059c1dab03af6b5de
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_SUBDIR := expat-$($(PKG)_VERSION)
4143
e9a40603c054 expat: update to v2.1.1
John Donoghue
parents: 3480
diff changeset
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
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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/' | \
4601
dc3eb553f5e9 update UPDATE rule for sourceforge projects with version directories
John D
parents: 4575
diff changeset
15 $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \
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 head -1
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
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) \
5359
8f0776abf788 * src/expat.mk: disable use of docbook
John Donoghue <john.donoghue@ieee.org>
parents: 5169
diff changeset
24 --without-docbook \
3090
e9b0732bd46c [MSVC] enable expat compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
25 --prefix='$(HOST_PREFIX)' && $(CONFIGURE_POST_HOOK)
4477
95b85b9d28fa expat: update to v2.2.4
John D
parents: 4448
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_PROGS) DESTDIR='$(3)'
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef