Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compress::BGZF #10483

Merged
merged 4 commits into from
Aug 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions recipes/perl-compress-bgzf/0.005/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

# If it has Build.PL use that, otherwise use Makefile.PL
if [ -f Build.PL ]; then
perl Build.PL
perl ./Build
perl ./Build test
# Make sure this goes in site
perl ./Build install --installdirs site
elif [ -f Makefile.PL ]; then
# Make sure this goes in site
perl Makefile.PL INSTALLDIRS=site
make
make test
make install
else
echo 'Unable to find Build.PL or Makefile.PL. You need to modify build.sh.'
exit 1
fi
# Workaround https://github.com/conda/conda-build/issues/2824
chmod u+w $PREFIX/bin/bgzip.pl
34 changes: 34 additions & 0 deletions recipes/perl-compress-bgzf/0.005/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{% set name = "perl-compress-bgzf" %}
{% set version = "0.005" %}
{% set sha256 = "1b40284f2ca965ee20ea91707c41005f978127a9bf358a233f637b286adf1f3f" %}

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

source:
url: https://cpan.metacpan.org/authors/id/V/VO/VOLKENING/Compress-BGZF-0.005.tar.gz
sha256: {{ sha256 }}

build:
number: 0

requirements:
host:
- perl
- perl-extutils-makemaker
- perl-test-more

run:
- perl

test:
imports:
- Compress::BGZF
- Compress::BGZF::Reader
- Compress::BGZF::Writer

about:
home: http://metacpan.org/pod/Compress::BGZF
license: gpl_3
summary: 'Read/write blocked GZIP (BGZF) files'