# Template file for 'aspell' pkgname=aspell version=0.60.6.1 revision=5 short_desc="Spell checker with good multi-language support" homepage="http://aspell.net/" license="LGPL-2.1" maintainer="Juan RP " distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1 long_desc=" GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker. Its main feature is that it does a much better job of coming up with possible suggestions than just about any other spell checker out there for the English language, including Ispell and Microsoft Word. It also has many other technical enhancements over Ispell such as using shared memory for dictionaries and intelligently handling personal dictionaries when more than one Aspell process is open at once." build_style=gnu-configure configure_args="--enable-compile-in-filters" hostmakedepends="perl" makedepends="ncurses-devel" if [ "$CROSS_BUILD" ]; then hostmakedepends+=" automake libtool gettext-devel" pre_configure() { sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac autoreconf -fi } fi aspell-devel_package() { depends="ncurses-devel libstdc++-devel aspell>=${version}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/bin/pspell-config vmove usr/share/info vmove usr/share/man/man1/pspell-config.1 } } aspell_package() { depends="perl" pkg_install() { vmove usr } }