From 99a6f5d318c0a0101dc71f45ee646198b076b480 Mon Sep 17 00:00:00 2001 From: Florian Anderiasch Date: Mon, 25 Mar 2019 13:10:30 +0000 Subject: [PATCH] New package: sisl-4.6.0 --- srcpkgs/sisl/patches/maxdouble.patch | 11 +++++++++++ srcpkgs/sisl/template | 16 ++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 srcpkgs/sisl/patches/maxdouble.patch create mode 100644 srcpkgs/sisl/template diff --git a/srcpkgs/sisl/patches/maxdouble.patch b/srcpkgs/sisl/patches/maxdouble.patch new file mode 100644 index 0000000000..e1506e6ffa --- /dev/null +++ b/srcpkgs/sisl/patches/maxdouble.patch @@ -0,0 +1,11 @@ +--- include/sislP.h.orig ++++ include/sislP.h +@@ -362,7 +362,7 @@ enum + + #if defined(SISL_INTERNAL) + #ifndef HUGE +-#define HUGE MAXDOUBLE ++#define HUGE DBL_MAX + #endif + + /* Storage classes. Used in space allocation. */ diff --git a/srcpkgs/sisl/template b/srcpkgs/sisl/template new file mode 100644 index 0000000000..1fdf40b02d --- /dev/null +++ b/srcpkgs/sisl/template @@ -0,0 +1,16 @@ +# Template file for 'sisl' +pkgname=sisl +version=4.6.0 +revision=1 +wrksrc="SISL-SISL-${version}" +build_style=cmake +short_desc="SINTEF Spline Library" +maintainer="Florian Anderiasch " +license="AGPL-3.0-only" +homepage="https://github.com/SINTEF-Geometry/SISL" +distfiles="$homepage/archive/SISL-$version.tar.gz" +checksum=b207fe6b4b20775e3064168633256fddd475ff98573408f6f5088a938c086f86 + +post_install() { + vlicense COPYING +}