Skip to content
Permalink
Browse files

Use cpanm to download and install the Text::Aspell module

  • Loading branch information...
perlDreamer committed Jan 4, 2012
1 parent e07d824 commit 0a521c38ee8d1ef18c12a197684da010d7ee77b9
Showing with 4 additions and 4 deletions.
  1. +4 −4 build.sh
@@ -365,28 +365,28 @@ buildImageMagick(){
# param1: module directory
# param2: parameters to pass to Makefile.PL
installPerlModule() {
cd $1
printHeader "PM $1 with $2"
if [ "$WRE_CLEAN" == 1 ]; then
$WRE_MAKE distclean
$WRE_MAKE clean
fi
perl Makefile.PL $2 CCFLAGS="$CFLAGS"; checkError $? "$1 Makefile.PL"
$WRE_MAKE; checkError $? "$1 make"
#$WRE_MAKE test; checkError $? "$1 make test"
$WRE_MAKE install; checkError $? "$1 make install"
cd ..
cd /data/wrebuild
}

installPerlModules () {
printHeader "Perl Modules"
#cd source/perlmodules
export PERL_MM_USE_DEFAULT=1 # makes it so perl modules don't ask questions
cpan App::cpanminus
cpanm Task::WebGUI
if [ "$WRE_OSTYPE" != "Leopard" ] && [ "$WRE_OSTYPE" != "Snow Leopard" ]; then
cpanm http://backpan.perl.org/authors/id/D/DU/DURIST/Proc-ProcessTable-0.44.tar.gz
fi
mkdir -p source/perlmodules
chdir source/perlmodules
cpanm --look Text::Aspell
installPerlModule "Text-Aspell-0.09" "LIBS='-laspell'"
# detecting shared memory properly on 2.6 kernels
if [ "$WRE_OSNAME" == "Linux" ]; then

0 comments on commit 0a521c3

Please sign in to comment.
You can’t perform that action at this time.