diff --git a/recipes/panacus/build.sh b/recipes/panacus/build.sh index 76104b6f15c94..327c87dcade2a 100644 --- a/recipes/panacus/build.sh +++ b/recipes/panacus/build.sh @@ -1,7 +1,10 @@ #!/bin/bash -euo +export CFLAGS="${CFLAGS} -O3 -Wno-implicit-function-declaration" + mkdir -p $PREFIX/bin +cargo-bundle-licenses --format yaml --output THIRDPARTY.yml RUST_BACKTRACE=1 cargo install --no-track --verbose --root "${PREFIX}" --path . -cp scripts/panacus-visualize.py $PREFIX/bin/panacus-visualize +cp -rf scripts/panacus-visualize.py $PREFIX/bin/panacus-visualize diff --git a/recipes/panacus/meta.yaml b/recipes/panacus/meta.yaml index 4cd45d580f27a..e099756606071 100644 --- a/recipes/panacus/meta.yaml +++ b/recipes/panacus/meta.yaml @@ -1,23 +1,25 @@ {% set name = "panacus" %} -{% set version = "0.2.5" %} +{% set version = "0.3.0-2" %} package: name: {{ name|lower }} - version: {{ version }} + version: {{ version | replace('-', '.') }} source: url: https://github.com/marschall-lab/{{ name }}/archive/refs/tags/{{ version }}.tar.gz - sha256: 7b4e4aee52528c569ad663d0fcd00bd42f221f29f93f0768f18c2ac2d3f0d769 + sha256: a7f7887f59e3ab7a1f46d2e856ca11d38a8f08a7d61247f3e776aa7d869b0ee9 build: - number: 1 + number: 0 run_exports: - {{ pin_subpackage(name, max_pin="x.x") }} + requirements: build: - {{ compiler('c') }} - {{ compiler('rust') }} + - cargo-bundle-licenses - cmake - make run: @@ -38,7 +40,9 @@ about: home: https://github.com/marschall-lab/{{ name }} license: MIT license_family: MIT - license_file: LICENSE + license_file: + - LICENSE + - THIRDPARTY.yml summary: "panacus is a tool for computing counting statistics for GFA files." dev_url: https://github.com/marschall-lab/{{ name }}