Patches for aports can be sent to this list

[alpine-aports] [PATCH] testing/scotch: new aport

Jose Maria Garcia
Details
Message ID
<20171120230514.4896-1-josemaria.alkala@gmail.com>
Sender timestamp
1511219114
DKIM signature
missing
Download raw message
Patch: +36 -0
https://www.labri.fr/perso/pelegrin/scotch/
Graph partitioning and much more
---
 testing/scotch/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 testing/scotch/APKBUILD

diff --git a/testing/scotch/APKBUILD b/testing/scotch/APKBUILD
new file mode 100644
index 0000000000..380d36e18f
--- /dev/null
+++ b/testing/scotch/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Jose Maria Garcia <josemaria.alkala@gmail.com>
+# Maintainer: Jose Maria Garcia <josemaria.alkala@gmail.com>
+pkgname=scotch
+pkgver=6.0.4
+pkgrel=0
+pkgdesc="Graph partitioning and much more"
+url="https://www.labri.fr/perso/pelegrin/scotch/"
+arch="all"
+license="CeCILL-C"
+depends="zlib"
+makedepends="cmake zlib-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://gforge.inria.fr/frs/download.php/file/34618/scotch_6.0.4.tar.gz"
+builddir="$srcdir/${pkgname}_${pkgver}/src/"
+
+prepare() {
+	cd "${builddir}"
+        ARCH=`uname -m | sed s/_/-/g`
+	echo $ARCH
+	cp Make.inc/Makefile.inc.`uname -m | sed s/_/-/g`_pc_linux2 Makefile.inc
+}
+
+build() {
+   	cd "${builddir}"
+   	make scotch prefix=/usr
+   	make esmumps prefix=/usr   	
+}
+
+package() {
+	mkdir -p ${pkgdir}/usr
+	cd "${builddir}"
+        make install prefix="${pkgdir}/usr"
+
+}
+sha512sums="0fcf639ab1a09451256444005f1a4a739403159e3ab22c34fbcedc481be387cd4c86be6fb029b4b5816220564f64f662434bf7f1d3921ed18be081ae2a7a9ee2  scotch_6.0.4.tar.gz"
-- 
2.15.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---