Last change
on this file since 27047 was 27047, checked in by jmt12, 11 years ago |
Script to allow the Perl module Sort::Key to be compiled/installed as part of cascade make
|
-
Property svn:executable
set to
*
|
File size:
922 bytes
|
Rev | Line | |
---|
[27047] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | package=Sort-Key
|
---|
| 4 | version=-1.32
|
---|
| 5 |
|
---|
| 6 | progname=$0
|
---|
| 7 |
|
---|
| 8 | source ../cascade-make/lib/cascade-lib.bash GEXTPARALLELBUILDING ../.. $*
|
---|
| 9 |
|
---|
| 10 | prefix=$GEXTPARALLELBUILDING_INSTALLED
|
---|
| 11 |
|
---|
| 12 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
| 13 | opt_run_perl_configure $force_config $auto_config $package $version $prefix
|
---|
| 14 |
|
---|
| 15 | # We only compile if necessary, as compilation is quite slow and we don't
|
---|
| 16 | # edit these source files
|
---|
| 17 | perlversion=$(perl-version.pl)
|
---|
| 18 | if [[ ! -e "$GEXTPARALLELBUILDING_INSTALLED/lib/perl/$perlversion/Sort/Key.pm" ]]
|
---|
| 19 | then
|
---|
| 20 | opt_run_make $compile $package $version
|
---|
| 21 | echo "opt_run_make $install $package $version \"install\""
|
---|
| 22 | opt_run_make $install $package $version "install"
|
---|
| 23 | else
|
---|
| 24 | echo "Sort::Key Perl module already compiled => no need to recompile"
|
---|
| 25 | fi
|
---|
| 26 |
|
---|
| 27 | opt_run_make $clean $package $version "clean"
|
---|
| 28 | opt_run_make $distclean $package $version "distclean"
|
---|
| 29 |
|
---|
| 30 | opt_run_tarclean $tarclean $package $version
|
---|
| 31 |
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 |
|
---|
| 37 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.