Subject: [alpine-aports] [PATCH] testing/med: new aport

From: Jose Maria Garcia <[email-masked]>
Date: Fri, 17 Nov 2017 21:56:03 +0100

https://hammi.extra.cea.fr/static/MED/web_med/
MED (Modlisation et Echanges de Donnes) belongs to the NEPAL project. MED is code-aster's exchange module linked to HDF5.
---
 testing/med/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 testing/med/APKBUILD

diff --git a/testing/med/APKBUILD b/testing/med/APKBUILD
new file mode 100644
index 0000000000..33b8c04849
--- /dev/null
+++ b/testing/med/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Jose Maria Garcia <[email-masked]>
+# Maintainer: Jose Maria Garcia <[email-masked]>
+pkgname=med
+pkgver=3.2.1
+pkgrel=0
+pkgdesc="MED (Modlisation et Echanges de Donnes) belongs to the NEPAL project. MED is code-aster's exchange module linked to HDF5."
+url="https://hammi.extra.cea.fr/static/MED/web_med/"
+arch="all"
+license="LGPL"
+depends="hdf5v18 zlib"
+makedepends="hdf5v18-dev zlib-dev python2-dev swig python2 gfortran"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://files.salome-platform.org/Salome/other/med-3.2.1.tar.gz"
+builddir="$srcdir/${pkgname}-${pkgver}_SRC"
+
+build() {
+   	cd "${srcdir}/${pkgname}-${pkgver}_SRC"
+   	./configure \
+   		--prefix=/usr \
+   		--sysconfdir=/etc \
+   		--mandir=/usr/share/man \
+   		--localstatedir=/var \
+		--with-hdf5=/usr \
+		--with-swig	
+                #--without-python \
+   		#--build=$CBUILD \
+   		#--host=$CHOST \
+
+   	make
+}
+
+package() {
+	cd "$builddir"
+        make DESTDIR="$pkgdir" install
+
+}
+sha512sums="80f37295aee51960d4c5f52fecd7ac1cdaed05325ad9d8a950601dddbac7a8b252f8a81fe6e0b06d29acf9324fb9e28d42176b58a91a396602a6c6741c307140  med-3.2.1.tar.gz"
-- 
2.15.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---