view src/python-mpmath.mk @ 5425:7ba6499a66d4

Proj requires the sqlite binary, tiff and curl libs * src/sqlite.mk: install exe * src/proj.mk: add requirment for curl and tiff
author John Donoghue <john.donoghue@ieee.org>
date Fri, 22 May 2020 10:09:13 -0400
parents 47b1ea174cb0
children dace3d372190
line wrap: on
line source

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

PKG             := python-mpmath
$(PKG)_VERSION  := 1.1.0
$(PKG)_CHECKSUM := 3f479408ea65b08bc23eeebe5dac2f2293dfec9d
$(PKG)_SUBDIR   := 
$(PKG)_FILE     := mpmath-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := https://files.pythonhosted.org/packages/ca/63/3384ebb3b51af9610086b23ea976e6d27d6d97bf140a76a365bd77a3eb32/$($(PKG)_FILE)
$(PKG)_DEPS += python-embedded

define $(PKG)_UPDATE
    echo $($(PKG)_VERSION)
endef

define $(PKG)_BUILD
    mkdir -p '$(3)$(HOST_PREFIX)/python'
    cd '$(1)/mpmath-$($(PKG)_VERSION)' && tar cf - mpmath | ( cd '$(3)$(HOST_PREFIX)/python'; tar xpf - )
    cd '$(1)' && tar cf - --exclude=mpmath-$($(PKG)_VERSION)/mpmath . | ( cd '$(3)$(HOST_PREFIX)/python'; tar xpf - )
endef