diff --git a/recipes/fc/build.sh b/recipes/fc/build.sh new file mode 100644 index 0000000000000..6725e40accbf6 --- /dev/null +++ b/recipes/fc/build.sh @@ -0,0 +1,7 @@ +#!/bin/bash +set -xe +make CXX="${CXX}" INCLUDES="-I$PREFIX/include" CFLAGS+="${CFLAGS} -g -Wall -O2 -L$PREFIX/lib" +#chmod +x ./bin/fc-virus +chmod 777 ./bin/fc-virus +mkdir -p ${PREFIX}/bin +cp -f ./bin/fc-virus ${PREFIX}/bin diff --git a/recipes/fc/meta.yaml b/recipes/fc/meta.yaml new file mode 100644 index 0000000000000..15c1e2335f04d --- /dev/null +++ b/recipes/fc/meta.yaml @@ -0,0 +1,37 @@ +{% set name = "fc" %} +{% set version = "1.0.1" %} + +package: + name: {{ name }} + version: {{ version }} + +source: + url: "https://github.com/qdu-bioinfo/fc-virus/archive/refs/tags/v{{ version }}.tar.gz" + sha256: "0f3b5f76ca17c90c7553d35280de6c0248802fad088a7fe653652653e3170944" + +build: + number: 0 + skip: True # [osx] + run_exports: + - {{ pin_subpackage("fc", max_pin="x") }} + +requirements: + build: + - make + - {{ compiler('c') }} + - {{ compiler('cxx') }} + host: + - zlib + - boost-cpp + +test: + commands: + - fc-virus --help + +about: + home: "https://github.com/qdu-bioinfo/fc-virus" + license: MIT + license_family: MIT + license_file: LICENSE + summary: "Accurate Assembly of Full-length Consensus for Viral Quasispecies." + dev_url: "https://github.com/qdu-bioinfo/fc-virus"