view src/build-scons.mk @ 6082:480f60641fc2

Add openlibm * src/openlibm.mk: new file * index.html, dist-files.mk: add ref to new file
author John Donoghue <john.donoghue@ieee.org>
date Wed, 09 Feb 2022 09:56:44 -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