view src/libf2c.mk @ 3531:d765eab1691e

bump version to 0.20 This version builds the stable-octave package completely from source with mingw-w64 for both 32- and 64-bit systems. Currently, 64-bit systems always use 64-bit indexing for Octave and dependencies.
author John W. Eaton <jwe@octave.org>
date Mon, 17 Feb 2014 01:20:23 -0500
parents 13be64f9f16d
children
line wrap: on
line source

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

PKG             := libf2c
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1
$(PKG)_CHECKSUM := f71066b41695738dec2261de71eaf02a1aaffe8b
$(PKG)_SUBDIR   :=
$(PKG)_FILE     := $(PKG).zip
$(PKG)_URL      := http://www.netlib.org/f2c/$($(PKG)_FILE)
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    echo 1
endef

define $(PKG)_BUILD
    $(MAKE) -C '$(1)' -j '$(JOBS)' -f makefile.u \
        CC=$(MXE_CC) \
        AR=$(MXE_AR) \
        LD=$(MXE_LD) \
        RANLIB=$(MXE_RANLIB) \
        CFLAGS='-O -DUSE_CLOCK'
    $(INSTALL) -m644 '$(1)/libf2c.a' '$(HOST_LIBDIR)'
    $(INSTALL) -m644 '$(1)/f2c.h'    '$(HOST_INCDIR)'
endef