view src/transfig.mk @ 3804:7e15ef9bf1e5

Update build-gcc, nsis to compile when in w64 mode. * src/build-binutils.mk: add windows 64 conditionals to binutils to compile multilib * src/build-gcc.mk:add windows 64 conditionals to gcc to compile multilib * src/nsis.mk: add PKG_BUILD target for windows 64 * src/win64-nsis.patch: new file. * dist-files.mk: add reference to win64-nsis.patch.
author John D
date Tue, 17 Feb 2015 14:48:23 -0500
parents 13be64f9f16d
children a7e6025bcb39
line wrap: on
line source

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

PKG             := transfig
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 3.2.5e
$(PKG)_CHECKSUM := 27aa9691bf84f8775db9be39c453a8132148bad1
$(PKG)_SUBDIR   := $(PKG).$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG).$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := http://$(SOURCEFORGE_MIRROR)/project/mcj/mcj-source/$($(PKG)_FILE)
$(PKG)_DEPS     := jpeg libpng

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

define $(PKG)_BUILD
    cd '$(1)' && chmod 755 configure && aclocal && automake --add-missing && autoconf \
        && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
        BITMAPDIR="/share/$(PKG)/bitmaps" \
        RGB_FILE="/share/$(PKG)/rgb.txt" \
        $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        --prefix='$(HOST_PREFIX)' 

    $(MAKE) -C '$(1)' -j '$(JOBS)' 
    $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)'
endef