Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add spooles #6661

Merged
merged 8 commits into from Oct 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions recipes/spooles/LICENSE.txt
@@ -0,0 +1,4 @@
From http://www.netlib.org/linalg/spooles/spooles.2.2.html

This release is entirely within the public domain; there are no licensing
restrictions, and there is no warranty of any sort.
12 changes: 12 additions & 0 deletions recipes/spooles/build.sh
@@ -0,0 +1,12 @@
make lib
cd MT/src/
make

mkdir -p $PREFIX/lib
cp *.a $PREFIX/lib/

cd ../..
cp *.a $PREFIX/lib/

mkdir -p $PREFIX/include/spooles
find . -name '*.h' -exec rsync -R {} $PREFIX/include/spooles \;
13 changes: 13 additions & 0 deletions recipes/spooles/gcc.patch
@@ -0,0 +1,13 @@
diff --git a/Make.inc b/Make.inc
index f99eb8f..a25880f 100644
--- a/Make.inc
+++ b/Make.inc
@@ -12,7 +12,7 @@
# for solaris
#
# CC = gcc
- CC = /usr/lang-4.0/bin/cc
+# CC = /usr/lang-4.0/bin/cc
#
# for sgi
#
40 changes: 40 additions & 0 deletions recipes/spooles/meta.yaml
@@ -0,0 +1,40 @@
{% set name = "spooles" %}
{% set version = "2.2.0" %}

package:
name: {{ name }}
version: {{ version }}

source:
fn: {{ name }}_{{ version }}.tar.gz
url: http://www.netlib.org/linalg/spooles/spooles.2.2.tgz
sha256: a84559a0e987a1e423055ef4fdf3035d55b65bbe4bf915efaa1a35bef7f8c5dd
patches:
- gcc.patch

build:
number: 0
skip: True # [win]

requirements:
build:
- {{ compiler('c') }}
- rsync # [unix]

test:
commands:
- test -f ${PREFIX}/lib/spoolesMT.a # [unix]

about:
home: http://www.netlib.org/linalg/spooles/spooles.2.2.html
summary: 'Simple, fast, extensible JSON encoder/decoder for Python'
license: Public Domain
license_family: Public Domain
description: |
SPOOLES is a library for solving sparse real and complex linear systems of equations,
written in the C language using object oriented design.
doc_url: http://www.netlib.org/linalg/spooles/spooles.2.2.html

extra:
recipe-maintainers:
- looooo