annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4361
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
1 # This file is part of MXE.
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
2 # See index.html for further information.
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
3
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
4 PKG := libidn2
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
5 $(PKG)_IGNORE :=
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
6 $(PKG)_VERSION := 0.16
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
7 $(PKG)_CHECKSUM := 26311b538897a8ed0569922132f2139ee3ec6a28
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
8 $(PKG)_SUBDIR := libidn2-$($(PKG)_VERSION)
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
9 $(PKG)_FILE := libidn2-$($(PKG)_VERSION).tar.gz
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
10 $(PKG)_URL := ftp://alpha.gnu.org/gnu/libidn/$($(PKG)_FILE)
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
11 $(PKG)_DEPS := gettext libiconv libunistring
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
12
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
13 define $(PKG)_UPDATE
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
14 $(WGET) -q -O- 'http://gitlab.com/jas/libidn2/tags' | \
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
15 $(SED) -n 's,^libidn2-\([0-9\.]*)$,\1,p' | \
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
16 head -1
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
17 endef
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
18
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
19 define $(PKG)_BUILD
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
20 cd '$(1)' && ./configure \
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
23 $(ENABLE_SHARED_OR_STATIC) \
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
24 --prefix='$(HOST_PREFIX)' \
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
25 && $(CONFIGURE_POST_HOOK)
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) DESTDIR='$(3)'
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
27 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)'
eb3e153306f3 libidn2: add new package
John D
parents:
diff changeset
28 endef