Mercurial > mxe-octave
view src/build-libtool.mk @ 6345:ecc4c238a1ab release octave-release-7.2.0
Update version numbers and build rules for Octave 7.2.0 release.
* src/stable-octave.mk: Update version to 7.2.1.
* src/release-octave.mk: Update version to 7.2.0. Update checksum
and URL for release.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 28 Jul 2022 10:14:53 -0400 |
parents | c2d59e7a4ad3 |
children | 6b02060ae71c |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := build-libtool $(PKG)_IGNORE := $(PKG)_VERSION := 2.4.6 $(PKG)_CHECKSUM := 25b6931265230a06f0fc2146df64c04e5ae6ec33 $(PKG)_SUBDIR := libtool-$($(PKG)_VERSION) $(PKG)_FILE := libtool-$($(PKG)_VERSION).tar.gz $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/libtool/$($(PKG)_FILE) $(PKG)_DEPS := ifeq ($(MXE_SYSTEM),msvc) $(PKG)_DEPS += build-msvctools $(PKG)_CONFIGURE_OPTIONS := \ CC='$(MXE_CC)' CXX='$(MXE_CXX)' F77='$(MXE_F77)' ac_cv_f77_compiler_gnu=no \ FC='$(MXE_F77)' ac_cv_fc_compiler_gnu=no else $(PKG)_CONFIGURE_OPTIONS := endif define $(PKG)_UPDATE $(WGET) -q -O- 'http://ftp.gnu.org/gnu/libtool/?C=M;O=D' | \ $(SED) -n 's,.*<a href="libtool-\([0-9\.]*\)\.tar.*,\1,p' | \ $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD mkdir '$(1).build' cd '$(1).build' && '$(1)/configure' \ --prefix='$(BUILD_TOOLS_PREFIX)' \ $($(PKG)_CONFIGURE_OPTIONS) $(MAKE) -C '$(1).build' -j '$(JOBS)' if test x$(MXE_SYSTEM) = xmsvc; then \ cd '$(1).build' && $(CONFIGURE_POST_HOOK); \ fi $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)' endef