med: update to 4.1.1.

This commit is contained in:
Andrew J. Hesford 2024-11-16 09:27:22 -05:00
parent bb4121068e
commit f7323f98da
2 changed files with 23 additions and 10 deletions

View file

@ -0,0 +1,13 @@
This package dumps lots of garbage in /usr/include; contain it in a subdirectory.
--- a/CMakeLists.txt 2024-11-24 23:56:40.906436392 -0500
+++ b/CMakeLists.txt 2024-11-24 23:56:46.986447548 -0500
@@ -103,7 +103,7 @@
ELSE()
SET(INSTALL_CMAKE_CONFIG_DIR share/cmake/medfile-${MED_STR_VERSION})
ENDIF()
-SET(INSTALL_INCLUDE_DIR include)
+SET(INSTALL_INCLUDE_DIR include/med)
## Pre-requisites detection
# Detect HDF5 first to potentially retrieve MPI automatically:

View file

@ -1,18 +1,18 @@
# Template file for 'med'
pkgname=med
version=4.1.0
revision=4
build_style=gnu-configure
configure_args="--with-swig=yes --includedir=/usr/include/med"
hostmakedepends="gcc-fortran swig python3-setuptools"
makedepends="hdf5-devel python3-devel tk-devel"
version=4.1.1
revision=1
build_style=cmake
configure_args="-DMEDFILE_BUILD_PYTHON=OFF -DMEDFILE_BUILD_TESTS=OFF"
hostmakedepends="gcc-fortran"
makedepends="hdf5-devel tk-devel"
depends="tk" # xmdump* are wish scripts
short_desc="Data Modelization and Exchanges"
maintainer="Piraty <mail@piraty.dev>"
license="GPL-3.0-only, LGPL-3.0-only"
homepage="https://www.salome-platform.org"
distfiles="http://files.salome-platform.org/Salome/other/med-${version}.tar.gz"
checksum=847db5d6fbc9ce6924cb4aea86362812c9a5ef6b9684377e4dd6879627651fce
distfiles="https://github.com/chennes/med/archive/v${version}.tar.gz"
checksum=ee8b3b6d46bfee25c1d289308b16c7f248d1339161fd5448339382125e6119ad
nocross="hdf5 is nocross"
@ -31,7 +31,7 @@ libmed-devel_package() {
depends="libmed>=${version}_${revision}"
pkg_install() {
vmove "usr/include"
vmove "usr/lib/libmed*.a"
vmove "usr/share/cmake"
vmove "usr/lib/libmed*.so"
}
}
@ -46,6 +46,6 @@ libmed_package() {
med-doc_package() {
short_desc+=" - Documentation"
pkg_install() {
vmove usr/share/doc/med
vmove usr/share/doc
}
}