forked from bioconda/bioconda-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request bioconda#2230 from jerowe/feature/perl-recipes
Feature/perl recipes
- Loading branch information
Showing
9 changed files
with
189 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
cpanm --installdeps . | ||
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 | ||
|
||
# Add more build steps here, if they are necessary. | ||
|
||
# See | ||
# http://docs.continuum.io/conda/build.html | ||
# for a list of environment variables that are set during the build process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package: | ||
name: perl-module-build-tiny | ||
version: "0.039" | ||
|
||
source: | ||
fn: Module-Build-Tiny-0.039.tar.gz | ||
url: http://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.039.tar.gz | ||
md5: 2332c90c17454107fea3f2614e11a3a9 | ||
|
||
build: | ||
skip: True # [osx] | ||
number: 0 | ||
|
||
requirements: | ||
build: | ||
- perl-threaded | ||
- perl-app-cpanminus | ||
- perl-extutils-makemaker | ||
- perl-pathtools | ||
|
||
run: | ||
- perl-threaded | ||
- perl-extutils-makemaker | ||
- perl-pathtools | ||
|
||
test: | ||
# Perl 'use' tests | ||
imports: | ||
- Module::Build::Tiny | ||
|
||
# You can also put a file called run_test.pl (or run_test.py) in the recipe | ||
# that will be run at test time. | ||
|
||
# requires: | ||
# Put any additional test requirements here. For example | ||
# - nose | ||
|
||
about: | ||
home: http://metacpan.org/pod/Module-Build-Tiny | ||
license: perl_5 | ||
summary: 'A tiny replacement for Module::Build' | ||
|
||
# See | ||
# http://docs.continuum.io/conda/build.html for | ||
# more information about meta.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
:: If it has Build.PL use that, otherwise use Makefile.PL | ||
IF exist Build.PL ( | ||
perl Build.PL | ||
IF errorlevel 1 exit 1 | ||
Build | ||
IF errorlevel 1 exit 1 | ||
Build test | ||
:: Make sure this goes in site | ||
Build install --installdirs site | ||
IF errorlevel 1 exit 1 | ||
) ELSE IF exist Makefile.PL ( | ||
:: Make sure this goes in site | ||
perl Makefile.PL INSTALLDIRS=site | ||
IF errorlevel 1 exit 1 | ||
make | ||
IF errorlevel 1 exit 1 | ||
make test | ||
IF errorlevel 1 exit 1 | ||
make install | ||
) ELSE ( | ||
ECHO 'Unable to find Build.PL or Makefile.PL. You need to modify bld.bat.' | ||
exit 1 | ||
) | ||
|
||
:: Add more build steps here, if they are necessary. | ||
|
||
:: See | ||
:: http://docs.continuum.io/conda/build.html | ||
:: for a list of environment variables that are set during the build process. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
:: If it has Build.PL use that, otherwise use Makefile.PL | ||
IF exist Build.PL ( | ||
perl Build.PL | ||
IF errorlevel 1 exit 1 | ||
Build | ||
IF errorlevel 1 exit 1 | ||
Build test | ||
:: Make sure this goes in site | ||
Build install --installdirs site | ||
IF errorlevel 1 exit 1 | ||
) ELSE IF exist Makefile.PL ( | ||
:: Make sure this goes in site | ||
perl Makefile.PL INSTALLDIRS=site | ||
IF errorlevel 1 exit 1 | ||
make | ||
IF errorlevel 1 exit 1 | ||
make test | ||
IF errorlevel 1 exit 1 | ||
make install | ||
) ELSE ( | ||
ECHO 'Unable to find Build.PL or Makefile.PL. You need to modify bld.bat.' | ||
exit 1 | ||
) | ||
|
||
:: Add more build steps here, if they are necessary. | ||
|
||
:: See | ||
:: http://docs.continuum.io/conda/build.html | ||
:: for a list of environment variables that are set during the build process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/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 | ||
|
||
# Add more build steps here, if they are necessary. | ||
|
||
# See | ||
# http://docs.continuum.io/conda/build.html | ||
# for a list of environment variables that are set during the build process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package: | ||
name: perl-scalar-list-utils | ||
version: "1.45" | ||
|
||
source: | ||
fn: Scalar-List-Utils-1.45.tar.gz | ||
url: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.45.tar.gz | ||
md5: b469e990ec92a4c9386aaf9e92857ae9 | ||
|
||
build: | ||
skip: True # [osx] | ||
number: 0 | ||
|
||
|
||
requirements: | ||
build: | ||
- gcc | ||
- perl-threaded | ||
|
||
run: | ||
- perl-threaded | ||
|
||
test: | ||
# Perl 'use' tests | ||
imports: | ||
- Scalar::Util | ||
|
||
about: | ||
home: http://metacpan.org/pod/Scalar-List-Utils | ||
license: perl_5 | ||
summary: 'Common Scalar and List utility subroutines' | ||
|
||
# See | ||
# http://docs.continuum.io/conda/build.html for | ||
# more information about meta.yaml |