view src/zeromq.mk @ 4128:253ac032547a

Fix more problems with libmng recipe (bug #47712). * src/libmng.mk: Remove unnecessary mkdir command in recipe. Call autoreconf with --force option because the libmng archive file ships with an out-of-date ltmain.sh which will not be replaced without --force.
author Rik <rik@octave.org>
date Wed, 20 Apr 2016 15:39:48 -0700
parents e56d3a2e616b
children e35307c8102e
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := zeromq
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 4.1.3
$(PKG)_CHECKSUM := b7185724f2fd56d0face50047757ac2a04d26ca4
$(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := http://download.zeromq.org/$($(PKG)_FILE)
$(PKG)_DEPS     := pthreads

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
    echo $($(PKG)_VERSION)
endef

define $(PKG)_BUILD
    cd '$(1)' && ./configure \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        --prefix='$(HOST_PREFIX)' \
        --without-libsodium \
        $(ENABLE_SHARED_OR_STATIC) 
    $(MAKE) -C '$(1)' -j '$(JOBS)'
    $(MAKE) -C '$(1)' -j 1 install
endef