Last change
on this file since 27466 was 27450, checked in by jmt12, 11 years ago |
Moved opt_modulebuild_* functions into a library, and altered the cascade file for Module::Build to use them instead as otherwise I can't seem to get the extension's perl path on the INC
|
-
Property svn:executable
set to
*
|
File size:
1020 bytes
|
Rev | Line | |
---|
[27440] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | package=DateTime
|
---|
| 4 | version=-1.03
|
---|
| 5 |
|
---|
| 6 | progname=$0
|
---|
| 7 |
|
---|
| 8 | source ../cascade-make/lib/cascade-lib.bash GEXTPARALLELBUILDING ../.. $*
|
---|
[27450] | 9 | source ../cascade-make/lib/cascade-lib-modulebuild.bash GEXTPARALLELBUILDING $*
|
---|
[27440] | 10 |
|
---|
| 11 | prefix=$GEXTPARALLELBUILDING_INSTALLED
|
---|
| 12 | perlversion=$PERL_VERSION
|
---|
| 13 |
|
---|
| 14 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
| 15 | opt_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
|
---|
| 19 | if [[ ! -e "$prefix/lib/perl/$perlversion/DateTime.pm" ]]
|
---|
| 20 | then
|
---|
| 21 | opt_modulebuild_make $compile $package $version
|
---|
| 22 | echo "opt_run_make $install $package $version \"install\""
|
---|
| 23 | opt_modulebuild_make $install $package $version "install"
|
---|
| 24 | else
|
---|
| 25 | echo "DateTime Perl module already compiled => no need to recompile"
|
---|
| 26 | fi
|
---|
| 27 |
|
---|
| 28 | opt_modulebuild_make $clean $package $version "clean"
|
---|
| 29 | opt_modulebuild_make $distclean $package $version "distclean"
|
---|
| 30 |
|
---|
| 31 | opt_run_tarclean $tarclean $package $version
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.