diff --git a/recipes/fc-virus/build.sh b/recipes/fc-virus/build.sh new file mode 100644 index 0000000000000..5c8a752d1bd17 --- /dev/null +++ b/recipes/fc-virus/build.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +#export LDFLAGS="$LDFLAGS -L$PREFIX/lib" +#export CPATH=${PREFIX}/include +#export LIBRARY_PATH=$LIBRARY_PATH:${PREFIX}/lib +#export C_INCLUDE_PATH=$C_INCLUDE_PATH:${PREFIX}/include +#export PATH=$BUILD_PREFIX/bin:$PATH +set -xe +#make \ +# CXX="${CXX}" \ +# CFLAGS="${CFLAGS} " +#chmod 777 ./bin/fc-virus +#install -d "${PREFIX}/bin" +#install ./bin/fc-virus "${PREFIX}/bin/" + +make CXX="${CXX}" INCLUDES="-I$PREFIX/include" CFLAGS+="-g -Wall -O2 -L$PREFIX/lib" +#chmod +x fc-virus +chmod 755 ./bin/fc-virus + +mkdir -p ${PREFIX}/bin +cp -f ./bin/fc-virus ${PREFIX}/bin + diff --git a/recipes/fc-virus/meta.yaml b/recipes/fc-virus/meta.yaml new file mode 100644 index 0000000000000..c64b7cc8881d7 --- /dev/null +++ b/recipes/fc-virus/meta.yaml @@ -0,0 +1,43 @@ +{% set name = "fc-virus" %} +{% set version = "1.0.1" %} +package: + name: {{ name }} + version: {{ version }} + +source: + url: "https://github.com/qdu-bioinfo/{{ name }}/archive/v{{ version }}.tar.gz" + sha256: "0f3b5f76ca17c90c7553d35280de6c0248802fad088a7fe653652653e3170944" + +build: + number: 0 + skip: true + run_exports: + - {{ pin_subpackage("fc-virus", max_pin="x") }} + +requirements: + build: + - {{ compiler("c") }} + - {{ compiler("cxx") }} + - make + host: + - boost + - zlib + - htslib + - boost + - zlib + - htslib +about: + home: https://github.com/qdu-bioinfo/fc-virus + license: MIT + license_file: LICENSE + summary: "Accurate Assembly of Full-length Consensus for Viral Quasispecies" + dev_url: https://github.com/qdu-bioinfo/fc-virus + +test: + commands: + - fc-virus --help +extra: + additional-platforms: + - linux-aarch64 +skip: + - osx-64