annotate src/pcre2.mk @ 6517:046050a1a55c

pcre2: Update link to new official repository.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 15 Nov 2022 15:48:42 +0100
parents 4b8764444acb
children c60bf74b03cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
1 # This file is part of MXE.
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
2 # See index.html for further information.
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
3
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
4 PKG := pcre2
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
5 $(PKG)_IGNORE :=
6175
bee5e6740778 * src/pcre2.mk: update to v10.40
John Donoghue <john.donoghue@ieee.org>
parents: 5967
diff changeset
6 $(PKG)_VERSION := 10.40
bee5e6740778 * src/pcre2.mk: update to v10.40
John Donoghue <john.donoghue@ieee.org>
parents: 5967
diff changeset
7 $(PKG)_CHECKSUM := 5a433f92b29083d0d8ccd4ec56e3afbe1fa09863
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
8 $(PKG)_SUBDIR := pcre2-$($(PKG)_VERSION)
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
9 $(PKG)_FILE := pcre2-$($(PKG)_VERSION).tar.bz2
6517
046050a1a55c pcre2: Update link to new official repository.
Markus Mützel <markus.muetzel@gmx.de>
parents: 6510
diff changeset
10 $(PKG)_URL := https://github.com/PCRE2Project/$(PKG)/releases/download/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE)
5454
cd41c2d17ef3 Update dependancies on packages
John Donoghue <john.donoghue@ieee.org>
parents: 5396
diff changeset
11 $(PKG)_DEPS := zlib
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
12
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
13 define $(PKG)_UPDATE
6517
046050a1a55c pcre2: Update link to new official repository.
Markus Mützel <markus.muetzel@gmx.de>
parents: 6510
diff changeset
14 $(call GITHUB_PKG_UPDATE,PCRE2Project,pcre2,pcre2-)
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
15 endef
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
16
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
17 define $(PKG)_BUILD
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
18 cd '$(1)' && ./configure \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
19 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
20 $(ENABLE_SHARED_OR_STATIC) \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
21 --prefix='$(HOST_PREFIX)' \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
22 --enable-pcre2-16 \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
23 --enable-utf \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
24 --enable-unicode-properties \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
25 --enable-cpp \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
26 --disable-pcregrep-libz \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
27 --disable-pcregrep-libbz2 \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
28 --disable-pcretest-libreadline && $(CONFIGURE_POST_HOOK)
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
29 rm -f '$(HOST_PREFIX)'/share/man/man3/pcre2-16*.3
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
30 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) DESTDIR='$(3)'
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
31 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) DESTDIR='$(3)'
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
32 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \
6319
ccbe7dae2d91 * src/pcre.mk, src/pcre2.mk: remove doc files
John Donoghue <john.donoghue@ieee.org>
parents: 6175
diff changeset
33 rm -rf "$(3)$(HOST_PREFIX)/share/doc/pcre2"; \
4735
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
34 rm -rf "$(3)$(HOST_PREFIX)/share/man"; \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
35 fi
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
36 if [ $(MXE_NATIVE_BUILD) = no ]; then \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
37 $(INSTALL) -d '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
38 $(INSTALL) -m755 '$(3)$(HOST_BINDIR)/pcre2-config' '$(3)$(BUILD_TOOLS_PREFIX)/bin/pcre2-config'; \
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
39 fi
4cea16af20b4 qt5: update to v5.11.0, add support pcre2
John Donoghue
parents:
diff changeset
40 endef