|
| 1 | +{% set name = "libsbml" %} |
| 2 | +{% set version = "5.20.4" %} |
| 3 | + |
| 4 | +package: |
| 5 | + name: {{ name|lower }} |
| 6 | + version: {{ version }} |
| 7 | + |
| 8 | +source: |
| 9 | + url: https://github.com/sbmlteam/libsbml/archive/refs/tags/v{{ version }}.tar.gz |
| 10 | + sha256: 02c225d3513e1f5d6e3c0168456f568e67f006eddaab82f09b4bdf0d53d2050e |
| 11 | + |
| 12 | +build: |
| 13 | + number: 0 |
| 14 | + run_exports: |
| 15 | + - {{ pin_subpackage('libsbml', max_pin='x.x') }} |
| 16 | + |
| 17 | +requirements: |
| 18 | + build: |
| 19 | + - {{ compiler('c') }} |
| 20 | + - {{ stdlib('c') }} |
| 21 | + - {{ compiler('cxx') }} |
| 22 | + - cmake |
| 23 | + - make # [not win] |
| 24 | + - ninja # [win] |
| 25 | + |
| 26 | + host: |
| 27 | + - zlib |
| 28 | + - bzip2 |
| 29 | + - libxml2 |
| 30 | + |
| 31 | +test: |
| 32 | + commands: |
| 33 | + - test -f "${PREFIX}/lib/libsbml${SHLIB_EXT-.so}" # [linux] |
| 34 | + - test -f "${PREFIX}/lib/libsbml${SHLIB_EXT-.dylib}" # [osx] |
| 35 | + - if not exist %PREFIX%/Library/bin/libsbml.dll exit 1 # [win] |
| 36 | + - test -f "${PREFIX}/include/sbml/SBase.h" # [not win] |
| 37 | + - if not exist %PREFIX%/Library/include/sbml/SBase.h exit 1 # [win] |
| 38 | + - test -f "${PREFIX}/lib/cmake/sbml-config.cmake" # [not win] |
| 39 | + - if not exist %PREFIX%/Library/lib/cmake/libsbml-config.cmake exit 1 # [win] |
| 40 | + - test -f "${PREFIX}/lib/pkgconfig/libsbml.pc" # [not win] |
| 41 | + |
| 42 | + |
| 43 | +about: |
| 44 | + home: http://sbml.org/software/libsbml/ |
| 45 | + summary: 'Non-official conda package of libSBML with all available packages' |
| 46 | + description: | |
| 47 | + LibSBML is a free, open-source programming library to help you read, write, manipulate, translate, and validate SBML files and data streams. |
| 48 | + This is a non-official conda package of libSBML with all available packages, working for linux-64, linux-aarch64, osx-64, osx-arm64 and win-64. |
| 49 | + This version was compiled with CPP namespace ON. |
| 50 | + |
| 51 | + license: LGPL-2.1-only |
| 52 | + license_family: LGPL |
| 53 | + |
| 54 | + license_file: LICENSE.txt |
| 55 | + |
| 56 | + doc_url: https://sbml.org/software/libsbml/libsbml-docs/api/c++/ |
| 57 | + dev_url: https://github.com/sbmlteam/libsbml/ |
| 58 | + |
| 59 | +extra: |
| 60 | + recipe-maintainers: |
| 61 | + - vincent-noel |
0 commit comments