Skip to content

Commit

Permalink
[ci skip] Merge PR 19568
Browse files Browse the repository at this point in the history
Merge PR bioconda#19568, commits were: 
 * added perl-test-most module
 * modified to run Makefile.PL
 * modified recipe based on bioconda recommendation
 * modified recipe based on bioconda recommendation
 * recipe for module math-matrixreal
 * 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 7ad49d2 commit f7eb4a0
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
26 changes: 26 additions & 0 deletions recipes/perl-math-matrixreal/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/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
# If it has Makefile.PL use that, otherwise use Build.PL
if [ -f Makefile.PL ]; then
# Make sure this goes in site
perl Makefile.PL INSTALLDIRS=site
make
make test
make install
elif [ -f Build.PL ]; then
perl Build.PL
./Build
./Build test
# Make sure this goes in site
./Build install --installdirs site
else
echo 'Unable to find Build.PL or Makefile.PL. You need to modify build.sh.'
exit 1
fi
34 changes: 34 additions & 0 deletions recipes/perl-math-matrixreal/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{% set name = "perl-math-matrixreal" %}
{% set version = "2.13" %}
{% set sha256 = "4f9fa1a46dd34d2225de461d9a4ed86932cdd821c121fa501a15a6d4302fb4b2" %}

package:
name: perl-math-matrixreal
version: "2.13"

source:
url: https://cpan.metacpan.org/authors/id/L/LE/LETO/Math-MatrixReal-2.13.tar.gz
sha256: 4f9fa1a46dd34d2225de461d9a4ed86932cdd821c121fa501a15a6d4302fb4b2

build:
noarch: generic
number: 0

requirements:
build:
- perl
- perl-test-most
- perl-module-build

run:
- perl

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

about:
home: http://metacpan.org/pod/Math::MatrixReal
license: perl_5
summary: 'Manipulate NxN matrices of real numbers'

0 comments on commit f7eb4a0

Please sign in to comment.