source: gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/TRYTINY.sh@ 27454

Last change on this file since 27454 was 27454, checked in by jmt12, 11 years ago

This is like a satanic game of whack-a-mole. Here are the four prereqs for Module::Implementation, namely: Module::Runtime, Test::More, Test::Requires, and Try::Tiny

  • Property svn:executable set to *
File size: 988 bytes
Line 
1#!/bin/bash
2
3package=Try-Tiny
4version=-0.12
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTPARALLELBUILDING ../.. $*
9
10prefix=$GEXTPARALLELBUILDING_INSTALLED
11perlversion=$PERL_VERSION
12
13opt_run_untar $force_untar $auto_untar $package $version
14opt_run_perl_configure $force_config $auto_config $package $version $prefix INSTALLSITEARCH="$prefix/lib/perl/$perlversion" INSTALLSITELIB="$prefix/lib/perl/$perlversion"
15
16# We only compile if necessary, as compilation is quite slow and we don't
17# edit these source files
18if [[ ! -e "$prefix/lib/perl/$perlversion/Try/Tiny.pm" ]]
19then
20 opt_run_make $compile $package $version
21 echo "opt_run_make $install $package $version \"install\""
22 opt_run_make $install $package $version "install"
23else
24 echo "Try::Tiny Perl module already compiled => no need to recompile"
25fi
26
27opt_run_make $clean $package $version "clean"
28opt_run_make $distclean $package $version "distclean"
29
30opt_run_tarclean $tarclean $package $version
31
32
33
34
35
36
37
Note: See TracBrowser for help on using the repository browser.