diff --git a/recipes/samstrip/build.sh b/recipes/samstrip/build.sh new file mode 100644 index 0000000000000..eed7f86b8d865 --- /dev/null +++ b/recipes/samstrip/build.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +set -xeuo + +cargo-bundle-licenses --format yaml --output THIRDPARTY.yml +# Build statically linked binary with Rust +RUST_BACKTRACE=1 cargo install -v --locked --no-track --root $PREFIX --path . diff --git a/recipes/samstrip/meta.yaml b/recipes/samstrip/meta.yaml new file mode 100644 index 0000000000000..ca61aea80f81d --- /dev/null +++ b/recipes/samstrip/meta.yaml @@ -0,0 +1,42 @@ +{% set name = "samstrip" %} +{% set version = "0.2.1" %} +{% set sha256 = "c14b4f0126bb28d7f74efc2d36d09cc22025b39c8fe802b9d37c9b75ada45095" %} + +package: + name: {{ name }} + version: {{ version }} + +build: + number: 0 + run_exports: + - {{ pin_subpackage(name|lower, max_pin="x.x") }} + +source: + url: https://github.com/jakobnissen/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz + sha256: {{ sha256 }} + +requirements: + build: + - {{ compiler("rust") }} + - cargo-bundle-licenses + host: + run: + +test: + commands: + - samstrip --help + +about: + home: https://github.com/jakobnissen/samstrip + license: MIT + license_file: + - LICENSE + - THIRDPARTY.yml + summary: Strip SAM files of data not needed for alignment computations. + +extra: + recipe-maintainers: + - apcamargo + additional-platforms: + - linux-aarch64 + - osx-arm64