Mercurial > mxe-octave
annotate src/libidn2.mk @ 6215:d18a5545df0d release
build-gettext: Don't build emacs bindings.
* src/build-gettext.mk: The `emacs` installed on the build system might be
incompatible with the STL built by build-gcc. We probably don't need the emacs
bindings for the `gettext` build tool anyway. So skip building those bindings.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 07 May 2022 12:01:10 +0200 |
parents | 48d062bbeb4c |
children | 9a25fc6a12e9 |
rev | line source |
---|---|
4361 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := libidn2 | |
5 $(PKG)_IGNORE := | |
5851
48d062bbeb4c
* src/libidn2.mk: update to v2.3.2
John Donoghue <john.donoghue@ieee.org>
parents:
5766
diff
changeset
|
6 $(PKG)_VERSION := 2.3.2 |
48d062bbeb4c
* src/libidn2.mk: update to v2.3.2
John Donoghue <john.donoghue@ieee.org>
parents:
5766
diff
changeset
|
7 $(PKG)_CHECKSUM := 0a01fca61ab09f5ab3f2d7fa968d3276133f03d7 |
5077 | 8 $(PKG)_SUBDIR := libidn2-$($(PKG)_VERSION) |
4361 | 9 $(PKG)_FILE := libidn2-$($(PKG)_VERSION).tar.gz |
4440 | 10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/libidn/$($(PKG)_FILE) |
4361 | 11 $(PKG)_DEPS := gettext libiconv libunistring |
12 | |
13 define $(PKG)_UPDATE | |
4538 | 14 $(WGET) -q -O- https://ftp.gnu.org/gnu/libidn/ | \ |
15 $(SED) -n 's,.*libidn2-\([0-9][^t]*\).tar.gz.*,\1,p' | \ | |
16 tail -1 | |
4361 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
23 $(ENABLE_SHARED_OR_STATIC) \ | |
24 --prefix='$(HOST_PREFIX)' \ | |
4440 | 25 --disable-doc \ |
4361 | 26 && $(CONFIGURE_POST_HOOK) |
27 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) DESTDIR='$(3)' | |
28 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' | |
4607 | 29 # create pkg-config files |
30 $(INSTALL) -d '$(HOST_LIBDIR)/pkgconfig' | |
31 (echo 'Name: $(PKG)'; \ | |
32 echo 'Version: $($(PKG)_VERSION)'; \ | |
33 echo 'Description: implementation of IDNA2008/TR46 internationalized domain names'; \ | |
34 echo 'Libs: -lidn2'; \ | |
35 echo 'Libs.private: -lunistring -liconv -lcharset';) \ | |
36 > '$(HOST_LIBDIR)/pkgconfig/$(PKG).pc' | |
37 # TODO create pc files for iconv and unistring. | |
38 | |
4361 | 39 endef |