Skip to content

Commit

Permalink
r-pctgcdata (#11715)
Browse files Browse the repository at this point in the history
* r-pctgcdata

* r-pctgcdata - fix

* r-pctgcdata - fix

* Update meta.yaml
  • Loading branch information
lecorguille authored and bgruening committed Oct 30, 2018
1 parent 715e982 commit e6622fb
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
11 changes: 11 additions & 0 deletions recipes/r-pctgcdata/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

if [[ $target_platform =~ linux.* ]] || [[ $target_platform == win-32 ]] || [[ $target_platform == win-64 ]] || [[ $target_platform == osx-64 ]]; then
export DISABLE_AUTOBREW=1
mv DESCRIPTION DESCRIPTION.old
grep -v '^Priority: ' DESCRIPTION.old > DESCRIPTION
$R CMD INSTALL --build .
else
mkdir -p $PREFIX/lib/R/library/pctGCdata
mv * $PREFIX/lib/R/library/pctGCdata
fi
30 changes: 30 additions & 0 deletions recipes/r-pctgcdata/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package:
name: r-pctgcdata
version: 0.2.0

source:
url: https://github.com/mskcc/pctGCdata/archive/v0.2.0.tar.gz
sha256: e217f8adfae848f0b12095f8d72cfb3044b7eb87e81849b6ff931b178b185fff

build:
number: 0
rpaths:
- lib/R/lib/
- lib/

requirements:
host:
- r-base
run:
- r-base

test:
commands:
- $R -e "library('pctGCdata')"

about:
home: https://github.com/mskcc/pctGCdata
license: GPL (>= 2)
summary: Provides GC percentage of a 1 kilobase window at a genomic position for different
builds of human and mouse genomes.
license_family: GPL3

0 comments on commit e6622fb

Please sign in to comment.