annotate src/libxml2.mk @ 5893:53a6c7df43f8

Mesa 3D: Update to version 21.1.8. * src/mesa.mk: Update version and checksum. * src/mesa-2-uninitialized.patch: Remove file. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 Sep 2021 22:37:45 +0200
parents cf2bbc37ee22
children ce8cf8007f40
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: 1447
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: 306
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
4 PKG := libxml2
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
5 $(PKG)_IGNORE :=
5765
cf2bbc37ee22 * src/libxml2.mk: update to v2.9.12
John Donoghue <john.donoghue@ieee.org>
parents: 5454
diff changeset
6 $(PKG)_VERSION := 2.9.12
cf2bbc37ee22 * src/libxml2.mk: update to v2.9.12
John Donoghue <john.donoghue@ieee.org>
parents: 5454
diff changeset
7 $(PKG)_CHECKSUM := 339fe5bb2a7d0c13f068c26d8f7cd194c13f9a2a
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_SUBDIR := libxml2-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_FILE := libxml2-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_URL := ftp://xmlsoft.org/libxml2/$($(PKG)_FILE)
5454
cd41c2d17ef3 Update dependancies on packages
John Donoghue <john.donoghue@ieee.org>
parents: 5269
diff changeset
11 $(PKG)_DEPS := zlib libiconv
3100
a684a0d16101 [MSVC] enable libxml2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
12
a684a0d16101 [MSVC] enable libxml2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
13 ifneq ($(MXE_SYSTEM),msvc)
a684a0d16101 [MSVC] enable libxml2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
14 $(PKG)_DEPS := xz
a684a0d16101 [MSVC] enable libxml2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
15 endif
141
13f2668f37a8 translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16
13f2668f37a8 translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 define $(PKG)_UPDATE
5269
76000d1e2282 * src/libxml2.mk: update to v2.9.10, use gitlab repo
John Donoghue
parents: 4924
diff changeset
18 $(WGET) -q -O- https://gitlab.gnome.org/GNOME/libxml2/tags | \
76000d1e2282 * src/libxml2.mk: update to v2.9.10, use gitlab repo
John Donoghue
parents: 4924
diff changeset
19 $(SED) -n 's|.*/tags/v\([^"]*\).*|\1|p' | grep -v 'rc' | $(SORT) -V | \
4710
038985c3bde2 update GNOME broken update rules
John Donoghue
parents: 4621
diff changeset
20 tail -1
141
13f2668f37a8 translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 endef
13f2668f37a8 translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22
13f2668f37a8 translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 define $(PKG)_BUILD
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
24 $(SED) -i 's,`uname`,MinGW,g' '$(1)/xml2-config.in'
141
13f2668f37a8 translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 cd '$(1)' && ./configure \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
26 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
27 $(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: 2810
diff changeset
28 $(ENABLE_SHARED_OR_STATIC) \
141
13f2668f37a8 translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --without-debug \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
30 --prefix='$(HOST_PREFIX)' \
3761
a5e6d54bcd60 libxml2: explicitly set use of zlib (Bug 43899)
John Donoghue <john.donoghue@ieee.org>
parents: 3750
diff changeset
31 --with-zlib='$(HOST_PREFIX)' \
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: 891
diff changeset
32 --without-python \
3100
a684a0d16101 [MSVC] enable libxml2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
33 --without-threads && $(CONFIGURE_POST_HOOK)
3177
9e883aedbf4d src/libxml2.mk: enable compilation of libxml2 binaries
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3100
diff changeset
34 $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS=
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3177
diff changeset
35 $(MAKE) -C '$(1)' -j 1 install noinst_PROGRAMS= DESTDIR='$(3)'
4301
b6819fef128f Dont install gtk-docs
John D
parents: 4285
diff changeset
36
b6819fef128f Dont install gtk-docs
John D
parents: 4285
diff changeset
37 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \
b6819fef128f Dont install gtk-docs
John D
parents: 4285
diff changeset
38 rm -rf "$(3)$(HOST_PREFIX)/share/gtk-doc"; \
b6819fef128f Dont install gtk-docs
John D
parents: 4285
diff changeset
39 rm -rf "$(3)$(HOST_PREFIX)/share/doc/$($(PKG)_SUBDIR)/html"; \
b6819fef128f Dont install gtk-docs
John D
parents: 4285
diff changeset
40 rm -rf "$(3)$(HOST_PREFIX)/share/doc/$($(PKG)_SUBDIR)/examples"; \
b6819fef128f Dont install gtk-docs
John D
parents: 4285
diff changeset
41 fi
141
13f2668f37a8 translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 endef
4301
b6819fef128f Dont install gtk-docs
John D
parents: 4285
diff changeset
43