Mercurial > mxe-octave
comparison src/libidn2.mk @ 4440:5e88d6bf806c
libidn2: update to 2.0.3
* dist-files.mk: remove ref to patch file
* src/libidn2.mk: update version, checksum, disable docs
* src/libidn2-1-fixes.patch: deleted
author | John D |
---|---|
date | Thu, 03 Aug 2017 10:33:05 -0400 |
parents | eb3e153306f3 |
children | 979f5b397e51 |
comparison
equal
deleted
inserted
replaced
4439:966e35ba2610 | 4440:5e88d6bf806c |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := libidn2 | 4 PKG := libidn2 |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_VERSION := 0.16 | 6 $(PKG)_VERSION := 2.0.3 |
7 $(PKG)_CHECKSUM := 26311b538897a8ed0569922132f2139ee3ec6a28 | 7 $(PKG)_CHECKSUM := 9264dfafbad5979a9b38d8092e9f3fe6481843ea |
8 $(PKG)_SUBDIR := libidn2-$($(PKG)_VERSION) | 8 $(PKG)_SUBDIR := libidn2-$($(PKG)_VERSION) |
9 $(PKG)_FILE := libidn2-$($(PKG)_VERSION).tar.gz | 9 $(PKG)_FILE := libidn2-$($(PKG)_VERSION).tar.gz |
10 $(PKG)_URL := ftp://alpha.gnu.org/gnu/libidn/$($(PKG)_FILE) | 10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/libidn/$($(PKG)_FILE) |
11 $(PKG)_DEPS := gettext libiconv libunistring | 11 $(PKG)_DEPS := gettext libiconv libunistring |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'http://gitlab.com/jas/libidn2/tags' | \ | 14 $(WGET) -q -O- 'http://gitlab.com/jas/libidn2/tags' | \ |
15 $(SED) -n 's,^libidn2-\([0-9\.]*)$,\1,p' | \ | 15 $(SED) -n 's,^libidn2-\([0-9\.]*)$,\1,p' | \ |
20 cd '$(1)' && ./configure \ | 20 cd '$(1)' && ./configure \ |
21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | 21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
23 $(ENABLE_SHARED_OR_STATIC) \ | 23 $(ENABLE_SHARED_OR_STATIC) \ |
24 --prefix='$(HOST_PREFIX)' \ | 24 --prefix='$(HOST_PREFIX)' \ |
25 --disable-doc \ | |
25 && $(CONFIGURE_POST_HOOK) | 26 && $(CONFIGURE_POST_HOOK) |
26 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) DESTDIR='$(3)' | 27 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) DESTDIR='$(3)' |
27 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' | 28 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' |
28 endef | 29 endef |