view src/build-scons.mk @ 4664:d09fabbfdc17

of-netcdf: update to 1.0.12 * build_packages.m: update netcdf version * dist-files.mk: remove ref to of-netcdf-1-fixes.patch * src/of-netcdf.mk: update version, checksum, update rule * src/of-netcdf-1-fixes.patch: removed
author John Donoghue
date Tue, 17 Apr 2018 13:22:05 -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