Mercurial > mxe-octave
view src/libidn2.mk @ 4500:102c3d608dd6
mesa: enable egl when building opengl.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 10 Oct 2017 14:44:52 -0400 |
parents | 5e88d6bf806c |
children | 979f5b397e51 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libidn2 $(PKG)_IGNORE := $(PKG)_VERSION := 2.0.3 $(PKG)_CHECKSUM := 9264dfafbad5979a9b38d8092e9f3fe6481843ea $(PKG)_SUBDIR := libidn2-$($(PKG)_VERSION) $(PKG)_FILE := libidn2-$($(PKG)_VERSION).tar.gz $(PKG)_URL := ftp://ftp.gnu.org/gnu/libidn/$($(PKG)_FILE) $(PKG)_DEPS := gettext libiconv libunistring define $(PKG)_UPDATE $(WGET) -q -O- 'http://gitlab.com/jas/libidn2/tags' | \ $(SED) -n 's,^libidn2-\([0-9\.]*)$,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --disable-doc \ && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) DESTDIR='$(3)' $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' endef