mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 13:38:52 +02:00
91 lines
1.8 KiB
Bash
91 lines
1.8 KiB
Bash
SUMMARY="Spellchecker, forked from myspell"
|
|
DESCRIPTION="
|
|
Hunspell is a spell checker and morphological analyzer library and program
|
|
designed for languages with rich morphology and complex word compounding or
|
|
character encoding.
|
|
"
|
|
HOMEPAGE="http://hunspell.sourceforge.net/"
|
|
SOURCE_URI="http://downloads.sourceforge.net/hunspell/hunspell-1.3.2.tar.gz"
|
|
CHECKSUM_SHA256="b4edd4a4ee944cb9f485b35473e46b729ed768e9d24da8e78e4c4c6ca56addbd"
|
|
LICENSE="
|
|
GNU GPL v2
|
|
GNU LGPL v2.1
|
|
MPL v1.1
|
|
"
|
|
COPYRIGHT="
|
|
2007-2011 Hunspell developers et al.
|
|
2002-2008 László Németh (Hunspell)
|
|
2001-2002 Kevin Hendricks (MySpell)
|
|
"
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="x86 x86_gcc2"
|
|
|
|
PROVIDES="
|
|
$portName = $portVersion
|
|
cmd:affixcompress = $portVersion
|
|
cmd:analyze = $portVersion
|
|
cmd:chmorph = $portVersion
|
|
cmd:hunspell = $portVersion
|
|
cmd:hunzip = $portVersion
|
|
cmd:hzip = $portVersion
|
|
cmd:ispellaff2myspell = $portVersion
|
|
cmd:makealias = $portVersion
|
|
cmd:munch = $portVersion
|
|
cmd:unmunch = $portVersion
|
|
cmd:wordforms = $portVersion
|
|
cmd:wordlist2hunspell = $portVersion
|
|
lib:libhunspell_1.3 = $portVersion compat >= 1.3
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
BUILD_REQUIRES="
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
cmd:libtoolize
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal -I m4
|
|
autoconf
|
|
automake --add-missing
|
|
touch po/t-hu.gmo
|
|
touch po/t-it.gmo
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libhunspell-1.3 libparsers
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
hunspell_devel = $portVersion
|
|
devel:libhunspell_1.3 = $portVersion compat >= 1.3
|
|
devel:libparsers = $portVersion compat >= 1.3
|
|
"
|
|
REQUIRES_devel="
|
|
hunspell == $portVersion base
|
|
"
|