# ispell, http://ficus-www.cs.ucla.edu/geoff/ispell.html name=ispell version=3.2.06 release=1 source=(http://fmg-www.cs.ucla.edu/geoff/tars/$name-$version.tar.gz \ $name-$version.patch) build() { cd $name-$version patch -p1 < ../$name-$version.patch make TMPDIR=/tmp mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/lib/ispell mkdir -p $PKG/usr/share/man/man1 mkdir -p $PKG/usr/share/man/man4 cp ispell buildhash $PKG/usr/bin cp ispell.1 $PKG/usr/share/man/man1 cp ispell.4 $PKG/usr/share/man/man4 chmod 644 $PKG/usr/share/man/man?/* cp languages/american/americanmed.hash $PKG/usr/lib/ispell cp languages/english/english.aff $PKG/usr/lib/ispell (cd $PKG/usr/lib/ispell ln -s americanmed.hash american.hash ln -s americanmed.hash english.hash) }