Skip to content

Commit

Permalink
[ci skip] Merge PR 19567
Browse files Browse the repository at this point in the history
Merge PR bioconda#19567, commits were: 
 * modified recipe based on bioconda recommendation
 * modified recipe based on bioconda recommendation
 * recipe for module math-matrix
 * Merge pull request #2 from bioconda/master

Updating repo to origin
 * Merge pull request #1 from bioconda/master

updated from bioconda in fork
  • Loading branch information
pravs3683 authored and BiocondaBot committed Jan 8, 2020
1 parent 19232c8 commit 7ad49d2
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
19 changes: 19 additions & 0 deletions recipes/perl-math-matrix/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# If it has Build.PL use that, otherwise use Makefile.PL
if [ -f Build.PL ]; then
perl Build.PL
./Build
./Build test
# Make sure this goes in site
./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
33 changes: 33 additions & 0 deletions recipes/perl-math-matrix/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{% set name = "perl-math-matrix" %}
{% set version = "0.8" %}
{% set sha256 = "74db24195672a481012230b112e97ee9b7cb8cc30e8374d852e1ffd67c9af467" %}

package:
name: perl-math-matrix
version: "0.8"

source:
url: https://cpan.metacpan.org/authors/id/U/UL/ULPFR/Math-Matrix-0.8.tar.gz
sha256: 74db24195672a481012230b112e97ee9b7cb8cc30e8374d852e1ffd67c9af467

build:
noarch: generic
number: 0

requirements:
host:
- perl
- perl-extutils-makemaker

run:
- perl

test:
# Perl 'use' tests
imports:
- Math::Matrix

about:
home: https://metacpan.org/pod/Math::Matrix
license: unknown
summary: 'Multiply and invert Matrices'

0 comments on commit 7ad49d2

Please sign in to comment.