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 lrge v0.1.1 #52356

Merged
merged 13 commits into from
Nov 26, 2024
12 changes: 12 additions & 0 deletions recipes/lrge/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

set -euo pipefail

export INCLUDE_PATH="${PREFIX}/include"
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
export CFLAGS="${CFLAGS} -O3 -fcommon"
export CXXFLAGS="${CFLAGS} -O3 -fcommon -I${PREFIX}/include"

cargo-bundle-licenses --format yaml --output THIRDPARTY.yml

RUST_BACKTRACE=full RUSTFLAGS="-C linker=$CC" cargo install -v --locked --no-track --root "$PREFIX" --path lrge
47 changes: 47 additions & 0 deletions recipes/lrge/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{% set version = "0.1.1" %}
{% set name = "lrge" %}

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

source:
url: https://github.com/mbhall88/{{ name }}/archive/{{ name }}-{{ version }}.tar.gz
sha256: 768b26435c8afa3eda00889818937276a0f0b0b8a2f0e3e17d67f183915c3da2

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

requirements:
build:
- {{ compiler('rust') }}
- cargo-bundle-licenses
- {{ compiler('c') }}
- {{ stdlib('c') }}
- zlib
host:
- zlib
- clangdev

test:
commands:
- lrge --version

about:
home: https://github.com/mbhall88/lrge
license: MIT
license_file:
- LICENSE
- THIRDPARTY.yml
summary: Genome size estimation from long read overlaps

extra:
skip-lints:
- version_constraints_missing_whitespace # see https://github.com/bioconda/bioconda-recipes/issues/51185
additional-platforms:
- linux-aarch64
- osx-arm64
recipe-maintainers:
- mbhall88