diff --git a/recipes/virdig/build.sh b/recipes/virdig/build.sh new file mode 100644 index 0000000000000..ad408d02cd879 --- /dev/null +++ b/recipes/virdig/build.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -xe + +export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" + +rm -rf virdig +make virdig CXX="${CXX}" \ + CXXFLAGS="${CXXFLAGS} -g -Wall -O3 -I$PREFIX/include -Wno-unused-variable -Wno-return-type" \ + -j"${CPU_COUNT}" + +install -d "${PREFIX}/bin" +install -v -m 0755 virdig "${PREFIX}/bin" diff --git a/recipes/virdig/meta.yaml b/recipes/virdig/meta.yaml new file mode 100644 index 0000000000000..c1c1dda9ae9fd --- /dev/null +++ b/recipes/virdig/meta.yaml @@ -0,0 +1,43 @@ +{% set name = "virdig" %} +{% set version = "1.0.0" %} + +package: + name: {{ name }} + version: {{ version }} + +source: + url: "https://github.com/Limh616/VirDiG/archive/refs/tags/v{{ version }}.tar.gz" + sha256: "cb9ce7fc5ced952f7af21776ea7b68bd2866af05b0f0727e8237966888c131c4" + +build: + number: 0 + run_exports: + - {{ pin_subpackage("virdig", max_pin="x") }} + +requirements: + build: + - make + - {{ compiler('c') }} + - {{ compiler('cxx') }} + host: + - zlib + - boost-cpp + run: + - boost-cpp + +test: + commands: + - virdig --help + +about: + home: "https://github.com/Limh616/VirDiG" + license: MIT + license_family: MIT + license_file: LICENSE + summary: "A de novo transcriptome assembler for coronavirus." + dev_url: "https://github.com/Limh616/VirDiG" + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64