Skip to content

Commit

Permalink
Create meta.yaml (bioconda#52677)
Browse files Browse the repository at this point in the history
* Create meta.yaml

* Create build.sh

* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Delete recipes/virdig/build.sh

* Create build.sh

* Update build.sh

* Update build.sh

* clean up recipe

* Update meta.yaml

* Update meta.yaml

---------

Co-authored-by: mencian <[email protected]>
Co-authored-by: Joshua Zhuang <[email protected]>
  • Loading branch information
3 people authored Dec 10, 2024
1 parent 677b228 commit a2d8c9f
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
12 changes: 12 additions & 0 deletions recipes/virdig/build.sh
Original file line number Diff line number Diff line change
@@ -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"
43 changes: 43 additions & 0 deletions recipes/virdig/meta.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a2d8c9f

Please sign in to comment.