mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
36 lines
657 B
YAML
36 lines
657 B
YAML
|
distributable:
|
||
|
url: https://github.com/samtools/htslib/releases/download/{{version.raw}}/htslib-{{version.raw}}.tar.bz2
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: samtools/htslib
|
||
|
|
||
|
dependencies:
|
||
|
sourceware.org/bzip2: '*'
|
||
|
tukaani.org/xz: '*'
|
||
|
zlib.net: ^1
|
||
|
curl.se: '>=5'
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
gnu.org/make: '*'
|
||
|
gnu.org/autoconf: '*'
|
||
|
gnu.org/automake: ^1
|
||
|
script:
|
||
|
- autoreconf -i
|
||
|
- ./configure $ARGS
|
||
|
- make --jobs {{ hw.concurrency }} install
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --prefix="{{prefix}}"
|
||
|
|
||
|
provides:
|
||
|
- bin/bgzip
|
||
|
- bin/htsfile
|
||
|
- bin/tabix
|
||
|
|
||
|
test: |
|
||
|
htsfile test.sam
|
||
|
bgzip -c test.sam > sam.gz
|
||
|
tabix -p sam sam.gz
|