Skip to content

Commit ad20ff8

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

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.2" %}
3+
4+
package:
5+
name: {{ name|lower }}
6+
version: {{ version }}
7+
8+
source:
9+
#path: /Users/evert/projects/markoff2025/code/kariba
10+
url: https://github.com/antonpannekoek/kariba/archive/refs/tags/v{{ version }}.tar.gz
11+
sha256: 246e622109d45e7f7a0f55eff2464f234f21c912041766e9853347b851fde888
12+
13+
build:
14+
number: 0
15+
skip: true # [win]
16+
17+
requirements:
18+
build:
19+
- {{ stdlib('c') }}
20+
- {{ compiler('cxx') }}
21+
- make
22+
host:
23+
- gsl
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)