view src/build-scons.mk @ 6111:497afa9abf22 release

* src/cmake.mk: force system detection of curl for cross compile (Bug #62115) (grafted from b319dc565a3a0990f2efafbc7d7f16f904595a2c)
author John Donoghue <john.donoghue@ieee.org>
date Wed, 02 Mar 2022 11:42:27 -0500
parents f062bdb4f0a3
children
line wrap: on
line source

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

PKG             := build-scons
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 4.1.0.post1
$(PKG)_CHECKSUM := 47bb89c546804fd76724fd206817ae9a19d4f2bd
$(PKG)_SUBDIR   := SCons-$($(PKG)_VERSION)
$(PKG)_FILE     := scons-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := https://sourceforge.net/projects/scons/files/scons/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS     := build-python

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)' && $(MXE_PYTHON) setup.py install --prefix='$(BUILD_TOOLS_PREFIX)'
endef