comparison src/libidn2.mk @ 4361:eb3e153306f3

libidn2: add new package * src/libidn2-1-fixes.patch: new file * src/libidn2.mk: new file * dist-files.mk: libb idn2 files * index.html: add libidn2 * src/libunistring.mk: update to v0.9.7
author John D
date Mon, 13 Mar 2017 08:13:05 -0400
parents
children 5e88d6bf806c
comparison
equal deleted inserted replaced
4360:63a9f37abcbc 4361:eb3e153306f3
1 # This file is part of MXE.
2 # See index.html for further information.
3
4 PKG := libidn2
5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 0.16
7 $(PKG)_CHECKSUM := 26311b538897a8ed0569922132f2139ee3ec6a28
8 $(PKG)_SUBDIR := libidn2-$($(PKG)_VERSION)
9 $(PKG)_FILE := libidn2-$($(PKG)_VERSION).tar.gz
10 $(PKG)_URL := ftp://alpha.gnu.org/gnu/libidn/$($(PKG)_FILE)
11 $(PKG)_DEPS := gettext libiconv libunistring
12
13 define $(PKG)_UPDATE
14 $(WGET) -q -O- 'http://gitlab.com/jas/libidn2/tags' | \
15 $(SED) -n 's,^libidn2-\([0-9\.]*)$,\1,p' | \
16 head -1
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)' \
25 && $(CONFIGURE_POST_HOOK)
26 $(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 endef