Mercurial > mxe-octave
annotate src/libxml2.mk @ 7116:cb0bb3d5bad8
* src/libxml2.mk: update to v2.12.6
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 20 Mar 2024 11:37:00 -0400 |
parents | 424c35c8273b |
children |
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 := |
7116
cb0bb3d5bad8
* src/libxml2.mk: update to v2.12.6
John Donoghue <john.donoghue@ieee.org>
parents:
7063
diff
changeset
|
6 $(PKG)_VERSION := 2.12.6 |
cb0bb3d5bad8
* src/libxml2.mk: update to v2.12.6
John Donoghue <john.donoghue@ieee.org>
parents:
7063
diff
changeset
|
7 $(PKG)_CHECKSUM := 029359f729865893a3b2cb6814ce17bf25fc5145 |
6093
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
8 $(PKG)_SUBDIR := libxml2-v$($(PKG)_VERSION) |
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
9 $(PKG)_FILE := libxml2-v$($(PKG)_VERSION).tar.gz |
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
10 $(PKG)_URL := https://gitlab.gnome.org/GNOME/$(PKG)/-/archive/v$($(PKG)_VERSION)/$($(PKG)_FILE) |
6449
89ba5343ffff
* src/libxml2.mk: add depend on xz
John Donoghue <john.donoghue@ieee.org>
parents:
6418
diff
changeset
|
11 $(PKG)_DEPS := zlib libiconv xz |
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 |
6702
98ca808fc04b
* src/libxml2.mk: update to v2.11.1
John Donoghue <john.donoghue@ieee.org>
parents:
6687
diff
changeset
|
17 ifneq ($(MXE_SYSTEM),linux) |
98ca808fc04b
* src/libxml2.mk: update to v2.11.1
John Donoghue <john.donoghue@ieee.org>
parents:
6687
diff
changeset
|
18 $(PKG)_CONFIGURE_OPTIONS := ac_cv_search_iconv=-liconv |
98ca808fc04b
* src/libxml2.mk: update to v2.11.1
John Donoghue <john.donoghue@ieee.org>
parents:
6687
diff
changeset
|
19 endif |
98ca808fc04b
* src/libxml2.mk: update to v2.11.1
John Donoghue <john.donoghue@ieee.org>
parents:
6687
diff
changeset
|
20 |
141
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 define $(PKG)_UPDATE |
5269
76000d1e2282
* src/libxml2.mk: update to v2.9.10, use gitlab repo
John Donoghue
parents:
4924
diff
changeset
|
22 $(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
|
23 $(SED) -n 's|.*/tags/v\([^"]*\).*|\1|p' | grep -v 'rc' | $(SORT) -V | \ |
4710 | 24 tail -1 |
141
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 endef |
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 |
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 define $(PKG)_BUILD |
6093
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
28 #$(SED) -i 's,`uname`,MinGW,g' '$(1)/xml2-config.in' |
ce8cf8007f40
libxml2: update to v2.9.13
John Donoghue <john.donoghue@ieee.org>
parents:
5765
diff
changeset
|
29 cd '$(1)' && ./autogen.sh \ |
2997 | 30 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
31 $(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
|
32 $(ENABLE_SHARED_OR_STATIC) \ |
6702
98ca808fc04b
* src/libxml2.mk: update to v2.11.1
John Donoghue <john.donoghue@ieee.org>
parents:
6687
diff
changeset
|
33 $($(PKG)_CONFIGURE_OPTIONS) \ |
141
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 --without-debug \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
35 --prefix='$(HOST_PREFIX)' \ |
3761
a5e6d54bcd60
libxml2: explicitly set use of zlib (Bug 43899)
John Donoghue <john.donoghue@ieee.org>
parents:
3750
diff
changeset
|
36 --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
|
37 --without-python \ |
3100
a684a0d16101
[MSVC] enable libxml2 compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
38 --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
|
39 $(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
|
40 $(MAKE) -C '$(1)' -j 1 install noinst_PROGRAMS= DESTDIR='$(3)' |
4301 | 41 |
42 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ | |
43 rm -rf "$(3)$(HOST_PREFIX)/share/gtk-doc"; \ | |
6325
ad7b12d96767
* src/libxml2.mk: remove additional docs
John Donoghue <john.donoghue@ieee.org>
parents:
6206
diff
changeset
|
44 rm -rf "$(3)$(HOST_PREFIX)/share/doc/$($(PKG)_SUBDIR)"; \ |
ad7b12d96767
* src/libxml2.mk: remove additional docs
John Donoghue <john.donoghue@ieee.org>
parents:
6206
diff
changeset
|
45 rm -rf "$(3)$(HOST_PREFIX)/share/doc/$(PKG)"; \ |
4301 | 46 fi |
141
13f2668f37a8
translated package: libxml2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
47 endef |
4301 | 48 |