view src/native-binutils.mk @ 5518:039563087c70 octave-rc-6.0.90

update version number for first 6.1 release candidate * src/stable-octave.mk: Update version to 6.0.90. * src/release-octave.mk: Update version to 6.0.90. Update URL and checksum for release candidate. * src/release-octave-1-setvbuf.patch: Delete. * src/release-octave-1-gnulib.patch: Update.
author John W. Eaton <jwe@octave.org>
date Wed, 26 Aug 2020 15:48:45 -0400
parents 9b74815e8337
children bc8ef5fda77b
line wrap: on
line source

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

PKG             := native-binutils
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 2.35
$(PKG)_CHECKSUM := 6bdd090ce268b6d6c3442516021c4e4b5019e303
$(PKG)_SUBDIR   := binutils-$($(PKG)_VERSION)
$(PKG)_FILE     := binutils-$($(PKG)_VERSION).tar.xz
$(PKG)_URL      := ftp://ftp.gnu.org/pub/gnu/binutils/$($(PKG)_FILE)
$(PKG)_URL_2    := ftp://ftp.cs.tu-berlin.de/pub/gnu/binutils/$($(PKG)_FILE)
$(PKG)_DEPS     :=

$(PKG)_SYSDEP_OPTIONS :=

define $(PKG)_UPDATE
    $(WGET) -q -O- 'http://ftp.gnu.org/gnu/binutils/?C=M;O=D' | \
    $(SED) -n 's,.*<a href="binutils-\([0-9][^"]*\)\.tar.*,\1,p' | \
    grep -v '^2\.1' | \
    head -1
endef

define $(PKG)_BUILD
    cd '$(1)' && ./configure \
        --target='$(TARGET)' \
        $($(PKG)_SYSDEP_OPTIONS) \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        --prefix='$(HOST_PREFIX)' \
        --with-gcc \
        --with-gnu-ld \
        --with-gnu-as \
        --disable-nls \
        $(ENABLE_SHARED_OR_STATIC) \
        --disable-werror
    $(MAKE) -C '$(1)' -j '$(JOBS)'
    $(MAKE) -C '$(1)' -j 1 install
endef