Skip to content

Commit

Permalink
[ci skip] Merge PR 26073
Browse files Browse the repository at this point in the history
Merge PR #26073, commits were: 
 * Update meta.yaml
 * Update meta.yaml
 * Add gfatools
  • Loading branch information
natir committed Feb 19, 2021
1 parent bbc174f commit 7c8a4e1
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
11 changes: 11 additions & 0 deletions recipes/gfatools/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash -euo

export LDFLAGS="$LDFLAGS -L$PREFIX/lib"
export CPATH=${PREFIX}/include

make CC=${CC} LIBS="-L ${PREFIX}/lib -lz"
make -C paf2gfa CC=${CC} LIBS="-L ${PREFIX}/lib -lz"

mkdir -p ${PREFIX}/bin/
cp ./gfatools ${PREFIX}/bin/
cp ./paf2gfa/paf2gfa ${PREFIX}/bin/
34 changes: 34 additions & 0 deletions recipes/gfatools/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{% set version = "0.4" %}
{% set sha256 = "27917901c000651393fbdf9210a88b4b41ff2cf70b1e9f77497b2200620698d3" %}

package:
name: gfatools
version: {{ version }}

source:
url: https://github.com/lh3/gfatools/archive/v{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 0

requirements:
build:
- {{ compiler("c") }}
host:
- zlib


test:
commands:
- gfatools 2>&1 | grep "gfatools"
- paf2gfa 2>&1 | grep "paf2gfa"

about:
home: https://github.com/lh3/gfatools
license: Unknown
summary: Tools for manipulating sequence graphs in the GFA and rGFA formats

extra:
recipe-maintainers:
- natir

0 comments on commit 7c8a4e1

Please sign in to comment.