From b89940747c68b0dedbb527175e889853bc77c910 Mon Sep 17 00:00:00 2001 From: Sakkayaphab Piwluang Date: Fri, 29 Nov 2019 14:30:27 +0700 Subject: [PATCH] [ci skip] Merge PR 18959 Merge PR 18959 --- recipes/genie/build.sh | 11 +++++++++++ recipes/genie/meta.yaml | 28 ++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 recipes/genie/build.sh create mode 100644 recipes/genie/meta.yaml diff --git a/recipes/genie/build.sh b/recipes/genie/build.sh new file mode 100644 index 0000000000000..ae635d9a79e1c --- /dev/null +++ b/recipes/genie/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +go version +mkdir -p src/github.com/sakkayaphab/bolt +mv bed cli fasta gff hts variant vcf main.go go.sum go.mod vendor src/github.com/sakkayaphab/bolt +cd src/github.com/sakkayaphab/bolt +export GOPATH="$SRC_DIR/" +go get ./... +go build -o genie main.go +mkdir -p $PREFIX/bin +cp genie $PREFIX/bin diff --git a/recipes/genie/meta.yaml b/recipes/genie/meta.yaml new file mode 100644 index 0000000000000..e344db8739195 --- /dev/null +++ b/recipes/genie/meta.yaml @@ -0,0 +1,28 @@ +{% set version = "0.4.1" %} + +package: + name: genie + version: {{ version }} + +source: + url: https://github.com/sakkayaphab/genie/archive/v{{ version }}.tar.gz + md5: 950c0be81474a2db47b717a332490864 + +build: + number: 0 + +test: + commands: + - genie -h + +requirements: + build: + - {{ compiler('go') }} + +about: + home: https://github.com/sakkayaphab/genie + summary: Genie is a bioinformatics tools for managing high-throughput sequencing data + license: MIT + license_family: MIT + license_file: LICENSE + library_file: THIRD-PARTY-LICENSE