view src/build-scons.mk @ 5505:391a0292bcaa

gettext: update to 0.21 * src/build-gettext.mk, src/gettext.mk: update version, checksum
author John Donoghue <john.donoghue@ieee.org>
date Fri, 31 Jul 2020 15:54:03 -0400
parents 54ef2bc252bf
children 44be3d301611
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.1.2
$(PKG)_CHECKSUM := d7541717d503266b37004a33246b6688fe87dec0
$(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