Skip to content

Commit a921369

Browse files
author
Evert Rol
committed
Create package config for Kariba library
1 parent 46914bc commit a921369

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

recipes/kariba/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
cp make.config-template make.config
2+
make
3+
make install

recipes/kariba/meta.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{% set name = "Kariba" %}
2+
{% set version = "1.0.3" %}
3+
4+
package:
5+
name: {{ name|lower }}
6+
version: {{ version }}
7+
8+
source:
9+
url: https://github.com/antonpannekoek/kariba/archive/refs/tags/v{{ version }}.tar.gz
10+
sha256: f08b75ebd2ae84eb0f716d28eeb64d2adcae9daf9224a5e8ce06edab1ad6f75e
11+
12+
build:
13+
number: 0
14+
skip: true # [win]
15+
16+
requirements:
17+
build:
18+
- {{ stdlib('c') }}
19+
- {{ compiler('cxx') }}
20+
- make
21+
host:
22+
- gsl
23+
- libopenblas # [linux]
24+
- libgomp # [linux]
25+
- llvm-openmp # [osx]
26+
27+
test:
28+
commands:
29+
- ls $(dirname $(which kariba_test))/../include/kariba/*.hpp
30+
- ls $(dirname $(which kariba_test))/../lib/libkariba.so # [linux]
31+
- ls $(dirname $(which kariba_test))/../lib/libkariba.dylib # [osx]
32+
- kariba_test
33+
34+
about:
35+
home: https://github.com/antonpannekoek/kariba
36+
summary: 'A library to support semi-analytical, multi-zone jet models designed for modelling steady-state SEDs of jets'
37+
description: |
38+
Kariba is a small C++ library to support jet models. In
39+
particular, it was built to support BHJet, a semi-analytical,
40+
multi-zone jet model designed for modelling steady-state SEDs of
41+
jets launched from accreting black holes.
42+
license: MIT
43+
license_family: MIT
44+
license_file: LICENSE
45+
doc_url: https://antonpannekoek.github.io/kariba/
46+
dev_url: https://github.com/antonpannekoek/kariba
47+
48+
extra:
49+
recipe-maintainers:
50+
- evertrol
51+
- maklinger

0 commit comments

Comments
 (0)