2018-04-14 14:53:08 +02:00
|
|
|
# Template file for 'med'
|
|
|
|
pkgname=med
|
|
|
|
version=3.3.1
|
2018-04-21 20:26:59 +02:00
|
|
|
revision=2
|
2018-04-14 14:53:08 +02:00
|
|
|
wrksrc=med-${version}_SRC
|
|
|
|
build_style=gnu-configure
|
2018-04-21 20:26:59 +02:00
|
|
|
configure_args="--with-swig=yes --with-hdf5-bin=/usr/lib/hdf5-18/bin"
|
2018-04-14 14:53:08 +02:00
|
|
|
hostmakedepends="gcc-fortran swig"
|
2018-04-21 20:26:59 +02:00
|
|
|
makedepends="hdf5-18-devel python-devel tk-devel"
|
2018-04-14 14:53:08 +02:00
|
|
|
short_desc="Data Modelization and Exchanges"
|
|
|
|
maintainer="Piraty <piraty1@inbox.ru>"
|
|
|
|
license="GPL-3, LGPL-3"
|
|
|
|
homepage="https://www.salome-platform.org"
|
|
|
|
distfiles="http://files.salome-platform.org/Salome/other/med-${version}.tar.gz"
|
|
|
|
checksum=dd631ef813838bc7413ff0dd6461d7a0d725bcfababdf772ece67610a8d22588
|
|
|
|
|
|
|
|
libmed-devel_package() {
|
|
|
|
short_desc+=" library - development files"
|
|
|
|
depends="libmed>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/libmed*.a
|
|
|
|
vmove usr/lib/libmed*.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libmed_package() {
|
|
|
|
short_desc+=" library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/libmed*
|
|
|
|
}
|
|
|
|
}
|