view src/itstool.mk @ 3256:7fb479d0241c

Update build tools for native mingw * src/build-m4.mk: do nothing for native mingw build * Makefile.in: - add bison, m4 as natve mingw, and python as jit build requirements. - remove build-bison as a mingw build dependancy * index.html: Add msys-bison to mingw required packages and mention ghostscript and python.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 26 Sep 2013 21:18:39 -0400
parents 90341dd4590e
children 13be64f9f16d
line wrap: on
line source

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

PKG             := itstool
$(PKG)_IGNORE   :=
$(PKG)_CHECKSUM := dc6b766c2acec32d3c5d016b0a33e9268d274f63
$(PKG)_SUBDIR   := itstool-$($(PKG)_VERSION)
$(PKG)_FILE     := itstool-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL      := http://files.itstool.org/itstool/$(PKG)-$($(PKG)_VERSION).tar.bz2
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    $(WGET) -q -O- 'http://itstool.org/download/' | \
    $(SED) -n 's,.*itstool-\([0-9][^"]*\)\.tar.*,\1,p' | \
    head -1
endef

ifeq ($(MXE_SYSTEM),msvc)
    $(PKG)_PREFIX := $(HOST_PREFIX_NATIVE)
else
    $(PKG)_PREFIX := $(HOST_PREFIX)
endif

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