view src/intltool.mk @ 4238:bdcbb82d57e2

pkg-install.py: fail pkg build if configure fails (Bug #49503) * tools/pkg-install.py: check status of configure call and raise exeption on error
author John D
date Thu, 03 Nov 2016 03:48:05 -0400
parents 13be64f9f16d
children
line wrap: on
line source

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

PKG             := intltool
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 0.50.2
$(PKG)_CHECKSUM := 7fddbd8e1bf94adbf1bc947cbf3b8ddc2453f8ad
$(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := http://launchpad.net/$(PKG)/trunk/$($(PKG)_VERSION)/+download/$(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS     :=

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

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