source: gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/MODULERUNTIME.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: 1.0 KB
Line 
1#!/bin/bash
2
3package=Module-Runtime
4version=-0.013
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTPARALLELBUILDING ../.. $*
9source ../cascade-make/lib/cascade-lib-modulebuild.bash GEXTPARALLELBUILDING $*
10
11prefix=$GEXTPARALLELBUILDING_INSTALLED
12perlversion=$PERL_VERSION
13
14opt_run_untar $force_untar $auto_untar $package $version
15opt_modulebuild_configure $force_config $auto_config $package $version $prefix $perlversion
16
17# We only compile if necessary, as compilation is quite slow and we don't
18# edit these source files
19if [[ ! -e "$prefix/lib/perl/$perlversion/Module/Runtime.pm" ]]
20then
21 opt_modulebuild_make $compile $package $version
22 echo "opt_run_make $install $package $version \"install\""
23 opt_modulebuild_make $install $package $version "install"
24else
25 echo "Module::Runtime Perl module already compiled => no need to recompile"
26fi
27
28opt_modulebuild_make $clean $package $version "clean"
29opt_modulebuild_make $distclean $package $version "distclean"
30
31opt_run_tarclean $tarclean $package $version
32
33
34
35
36
37
38
Note: See TracBrowser for help on using the repository browser.