Created
September 27, 2009 16:30
-
-
Save talison/194872 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Quick-n-dirty installation of aspell plus | |
# English dictionary on OSX. | |
###### | |
d=`mktemp -d aspell.XXXXX` | |
version="0.60.6" | |
dict_version="6.0-0" | |
pushd $d | |
wget ftp://ftp.gnu.org/gnu/aspell/aspell-${version}.tar.gz || exit 1 | |
wget ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-${dict_version}.tar.bz2 || exit 1 | |
echo "Installing aspell version $version" | |
tar -xf aspell-${version}.tar.gz && \ | |
cd aspell-${version} && \ | |
./configure && \ | |
make && \ | |
make install && \ | |
cd .. | |
echo "Installing aspell english dict version $dict_version" | |
tar -jxf aspell6-en-${dict_version}.tar.bz2 && \ | |
cd aspell6-en-${dict_version} && \ | |
./configure && \ | |
make && \ | |
make install | |
popd && \ | |
rm -rf $d | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment