mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
89 lines
2.8 KiB
Bash
89 lines
2.8 KiB
Bash
SUMMARY="A free and open source spell checker"
|
|
DESCRIPTION="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 superior job of \
|
|
suggesting possible replacements for a misspelled word than just about any \
|
|
other spell checker out there for the English language. Unlike Ispell, Aspell \
|
|
can also \easily check documents in UTF-8 without having to use a special \
|
|
dictionary. Aspell will also do its best to respect the current locale \
|
|
setting. Other advantages over Ispell include support for using multiple \
|
|
dictionaries at once and intelligently handling personal dictionaries when \
|
|
more than one Aspell process is open at once."
|
|
HOMEPAGE="http://aspell.net"
|
|
COPYRIGHT="2000-2006 Kevin Atkinson"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="3"
|
|
SOURCE_URI="ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz"
|
|
CHECKSUM_SHA256="f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1"
|
|
|
|
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
aspell$secondaryArchSuffix = $portVersion compat >= 0.60
|
|
cmd:aspell$secondaryArchSuffix = $portVersion compat >= 0.60
|
|
cmd:aspell_import$secondaryArchSuffix = $portVersion compat >= 0.60
|
|
cmd:precat$secondaryArchSuffix = $portVersion compat >= 0.60
|
|
cmd:preunzip$secondaryArchSuffix = $portVersion compat >= 0.60
|
|
cmd:prezip$secondaryArchSuffix = $portVersion compat >= 0.60
|
|
cmd:prezip_bin$secondaryArchSuffix = $portVersion compat >= 0.60
|
|
cmd:pspell_config$secondaryArchSuffix = $portVersion compat >= 0.60
|
|
cmd:run_with_aspell$secondaryArchSuffix = $portVersion compat >= 0.60
|
|
cmd:word_list_compress$secondaryArchSuffix = $portVersion compat >= 0.60
|
|
lib:libaspell$secondaryArchSuffix = 15.1.5 compat >= 15
|
|
lib:libpspell$secondaryArchSuffix = 15.1.5 compat >= 15
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
aspell${secondaryArchSuffix}_devel = $portVersion compat >= 0.60
|
|
devel:libaspell$secondaryArchSuffix = 15.1.5 compat >= 15
|
|
devel:libpspell$secondaryArchSuffix = 15.1.5 compat >= 15
|
|
"
|
|
REQUIRES_devel="
|
|
aspell$secondaryArchSuffix == $portVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libncurses$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:libtoolize
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:perl
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
sed -i "s,AM_CONFIG_HEADER,AC_CONFIG_HEADERS," configure.ac
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal -I m4
|
|
autoconf
|
|
automake
|
|
runConfigure ./configure \
|
|
--enable-dict-dir=$dataDir/aspell-0.60
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/*.la
|
|
|
|
prepareInstalledDevelLibs libaspell libpspell
|
|
packageEntries devel $developDir
|
|
}
|