Skip to content

Commit

Permalink
Updated segemehl 0.2 added segemehl 0.3 (#11753)
Browse files Browse the repository at this point in the history
* Updated segemehl 0.2 added segemehl 0.3

* Update meta.yaml

* skipping osx for now
  • Loading branch information
jfallmann authored and eggzilla committed Nov 2, 2018
1 parent 3f459ca commit 60acc69
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 10 deletions.
13 changes: 13 additions & 0 deletions recipes/segemehl/0.2.0/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

export C_INCLUDE_PATH=${PREFIX}/include:${PREFIX}/include/ncurses
export LIBRARY_PATH=${PREFIX}/lib

cd segemehl
make segemehl.x -j${CPU_COUNT}
make testrealign.x -j${CPU_COUNT}
make lack.x -j${CPU_COUNT}

for i in *.x ; do
install ${i} ${PREFIX}/bin
done
40 changes: 40 additions & 0 deletions recipes/segemehl/0.2.0/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
package:
name: segemehl
version: 0.2.0

about:
home: http://www.bioinf.uni-leipzig.de/Software/segemehl/
summary: Short read mapping with gaps
build:
number: 5
skip: True # [osx]

source:
url: "http://www.bioinf.uni-leipzig.de/Software/segemehl/old/segemehl_0_2_0.tar.gz"
sha256: 2575139d2f2ba7bd534afcbe485c0570c177d1faaeb267c4cd873e65b8e72afb

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- zlib
- ncurses
run:
- ncurses

test:
commands:
- segemehl.x --help 2>&1 | grep -A1 VERSION
- lack.x --help 2>&1 | grep -A1 VERSION
- testrealign.x --help 2>&1 | grep -A1 VERSION

extra:
identifiers:
- biotools:segemehl

about:
home: http://www.bioinf.uni-leipzig.de/Software/segemehl/
license: GPL3
# license_file: licence.txt
summary: Short read mapping with gaps
6 changes: 3 additions & 3 deletions recipes/segemehl/build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/sh
cd segemehl
#!/bin/bash

export C_INCLUDE_PATH=${PREFIX}/include:${PREFIX}/include/ncurses
export LIBRARY_PATH=${PREFIX}/lib
export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig

make -j 1 ## do not use >1 make threads!
make all -j${CPU_COUNT} ## do not use >1 make threads!

for i in *.x ; do
install ${i} ${PREFIX}/bin
Expand Down
26 changes: 19 additions & 7 deletions recipes/segemehl/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,45 @@
{% set version = "0.3.1" %}
{% set sha256 = "04b6d92a118b897c8c7d1157c60b2671975cd21da17fe2b7e0200b83f8534c2b" %}

package:
name: segemehl
version: 0.2.0
version: {{ version }}

about:
home: http://www.bioinf.uni-leipzig.de/Software/segemehl/
summary: Short read mapping with gaps
build:
number: 4
number: 0
skip: True # [osx]

source:
url: "http://www.bioinf.uni-leipzig.de/Software/segemehl/segemehl_0_2_0.tar.gz"
sha256: 2575139d2f2ba7bd534afcbe485c0570c177d1faaeb267c4cd873e65b8e72afb
url: "http://www.bioinf.uni-leipzig.de/Software/segemehl/downloads/segemehl.tar.gz"
sha256: {{ sha256 }}

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- pkg-config
host:
- zlib
- ncurses
- htslib
run:
- zlib
- ncurses
- htslib

test:
commands:
- segemehl.x --help 2>&1 | grep -A1 VERSION
- lack.x --help 2>&1 | grep -A1 VERSION
- testrealign.x --help 2>&1 | grep -A1 VERSION
- haarz.x --help 2>&1 | grep -A1 VERSION

extra:
identifiers:
- biotools:segemehl

about:
home: http://www.bioinf.uni-leipzig.de/Software/segemehl/
license: GPL3
license_file: licence.txt
summary: Short read mapping with gaps

0 comments on commit 60acc69

Please sign in to comment.