Skip to content

Commit

Permalink
chore: Copy bioconda build recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Edmund Miller committed Sep 18, 2024
1 parent 7889de0 commit d009b76
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
11 changes: 11 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
mv DESCRIPTION DESCRIPTION.old
grep -v '^Priority: ' DESCRIPTION.old > DESCRIPTION
mkdir -p ~/.R
echo -e "CC=$CC
FC=$FC
CXX=$CXX
CXX98=$CXX
CXX11=$CXX
CXX14=$CXX" > ~/.R/Makevars
$R CMD INSTALL --build .
60 changes: 60 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{% set version = "1.36.0" %}
{% set name = "groHMM" %}
{% set bioc = "3.18" %}

package:
name: 'bioconductor-{{ name|lower }}'
version: '{{ version }}'
source:
url:
- 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/{{ name }}_{{ version }}.tar.gz'
- 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/Archive/{{ name }}/{{ name }}_{{ version }}.tar.gz'
- 'https://bioarchive.galaxyproject.org/{{ name }}_{{ version }}.tar.gz'
- 'https://depot.galaxyproject.org/software/bioconductor-{{ name|lower }}/bioconductor-{{ name|lower }}_{{ version }}_src_all.tar.gz'
md5: 0b1077948ddc9895c57188ca2560bc10
build:
number: 1
rpaths:
- lib/R/lib/
- lib/
run_exports: '{{ pin_subpackage("bioconductor-grohmm", max_pin="x.x") }}'
# Suggests: BiocStyle, GenomicFeatures, edgeR, org.Hs.eg.db, TxDb.Hsapiens.UCSC.hg19.knownGene
requirements:
host:
- 'bioconductor-genomeinfodb >=1.38.0,<1.39.0'
- 'bioconductor-genomicalignments >=1.38.0,<1.39.0'
- 'bioconductor-genomicranges >=1.54.0,<1.55.0'
- 'bioconductor-iranges >=2.36.0,<2.37.0'
- 'bioconductor-rtracklayer >=1.62.0,<1.63.0'
- 'bioconductor-s4vectors >=0.40.0,<0.41.0'
- r-base
- r-mass
- libblas
- liblapack
run:
- 'bioconductor-genomeinfodb >=1.38.0,<1.39.0'
- 'bioconductor-genomicalignments >=1.38.0,<1.39.0'
- 'bioconductor-genomicranges >=1.54.0,<1.55.0'
- 'bioconductor-iranges >=2.36.0,<2.37.0'
- 'bioconductor-rtracklayer >=1.62.0,<1.63.0'
- 'bioconductor-s4vectors >=0.40.0,<0.41.0'
- r-base
- r-mass
build:
- {{ compiler('c') }}
- make
test:
commands:
- '$R -e "library(''{{ name }}'')"'
about:
home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
license: GPL-3.0-only
summary: 'GRO-seq Analysis Pipeline'
description: 'A pipeline for the analysis of GRO-seq data.'
license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

extra:
additional-platforms:
- linux-aarch64
identifiers:
- biotools:{{ name|lower }}

0 comments on commit d009b76

Please sign in to comment.