Last change
on this file since 27476 was 27405, checked in by jmt12, 11 years ago |
Now that I can get the Perl version, make the cascade make script smart enough to look up the appropriate location for conditional installs (don't install if already installed)
|
-
Property svn:executable
set to
*
|
File size:
929 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=IPC-Run
|
---|
4 | version=-0.90
|
---|
5 |
|
---|
6 | progname=$0
|
---|
7 |
|
---|
8 | source ../cascade-make/lib/cascade-lib.bash GEXTPARALLELBUILDING ../.. $*
|
---|
9 |
|
---|
10 | prefix=$GEXTPARALLELBUILDING_INSTALLED
|
---|
11 | perlversion=$(perl-version.pl)
|
---|
12 |
|
---|
13 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
14 | opt_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
|
---|
18 | if [[ ! -e "$prefix/lib/perl/$perlversion/IPC/Run.pm" ]]
|
---|
19 | then
|
---|
20 | opt_run_make $compile $package $version
|
---|
21 | opt_run_make $install $package $version "install"
|
---|
22 | else
|
---|
23 | echo "IPC::Run Perl module already compiled => no need to recompile"
|
---|
24 | fi
|
---|
25 |
|
---|
26 | opt_run_make $clean $package $version "clean"
|
---|
27 | opt_run_make $distclean $package $version "distclean"
|
---|
28 |
|
---|
29 | opt_run_tarclean $tarclean $package $version
|
---|
30 |
|
---|
31 |
|
---|
32 |
|
---|
33 |
|
---|
34 |
|
---|
35 |
|
---|
36 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.