annotate src/src-msys2-python.mk @ 5504:9f9ed6a325bd

Build SUNDIALS IDA for Linux with KLU (bug #58795). * src/suitesparse.mk: Create symlinks to libraries without version suffix. * src/sundials-ida.mk: Unify build rules for all other platforms.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 31 Jul 2020 14:59:35 +0200
parents dace3d372190
children 38d42e4346af
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5493
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE.
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 # See index.html for further information.
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 PKG := src-msys2-python
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 $(PKG)_NAME := python
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
6 $(PKG)_IGNORE :=
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
7 $(PKG)_VERSION := 3.8.4-1
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 2318102220163c823e9f7f2e8d4a5ee75f094b9b
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 $(PKG)_SUBDIR :=
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 $(PKG)_FILE := $($(PKG)_NAME)-$($(PKG)_VERSION).src.tar.gz
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 $(PKG)_URL := $(MSYS2_SRC_URL)/$($(PKG)_FILE)
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 $(PKG)_DEPS :=
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15 define $(PKG)_UPDATE
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16 $(WGET) -q -O- '$(MSYS2_BASE_URL)/' | \
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17 $(SED) -n 's,.*title="$($(PKG)_NAME)-\([0-9][^"]*\)".*,\1,p' | \
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 head -1
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 endef
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 define $(PKG)_BUILD
dace3d372190 Use msys2 python3
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 endef