Mercurial > mxe-octave
view src/build-scons.mk @ 4628:d88f6ada9d07
stable-octave.mk: set version to 4.2.2
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 14 Mar 2018 14:01:02 -0400 |
parents | 7af764a07a91 |
children | 14990bb711f3 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := build-scons $(PKG)_IGNORE := $(PKG)_VERSION := 3.0.1 $(PKG)_CHECKSUM := 498691cf8d4f6da971b99fab0c3480ef944c4d1e $(PKG)_SUBDIR := scons-$($(PKG)_VERSION) $(PKG)_FILE := scons-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://prdownloads.sourceforge.net/scons/$($(PKG)_FILE) ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) $(PKG)_DEPS := else $(PKG)_DEPS := build-python endif define $(PKG)_UPDATE $(WGET) -q -O- https://sourceforge.net/projects/scons/files/scons/ | \ $(SED) -n 's|.*<tr title=\"\([0-9][^"]*\)".*|\1|p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && python setup.py install --prefix='$(BUILD_TOOLS_PREFIX)' endef