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 STRdust #47898

Merged
merged 3 commits into from
May 28, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions recipes/strdust/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash -euo
export CFLAGS="${CFLAGS} -fcommon"
export CXXFLAGS="${CFLAGS} -fcommon"

# build statically linked binary with Rust
RUST_BACKTRACE=1 cargo install --verbose --root $PREFIX --path .
39 changes: 39 additions & 0 deletions recipes/strdust/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{% set name = "strdust" %}
{% set version = "0.8.0" %}

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

build:
number: 0
run_exports:
- {{ pin_subpackage('strdust', max_pin="x.x") }}

source:
url: https://github.com/wdecoster/strdust/archive/refs/tags/v{{ version }}.tar.gz
sha256: 1b1e0ce34852961066f67020e44ed1716dfb1744488eb9b42b97f6516997cd38

requirements:
build:
- {{ compiler('rust') }}
- autoconf
- make
- {{ compiler('cxx') }}
- pkg-config
- cmake
host:
- zlib
- clang

test:
commands:
- STRdust --help

about:
home: "https://github.com/wdecoster/STRdust"
license: MIT
license_family: MIT
license_file: LICENSE
summary: "Tandem repeat genotyper for long reads."
dev_url: "https://github.com/wdecoster/STRdust"