spell_hr: add Croatian dictionary for aspell.

This commit is contained in:
fbrosson
2016-05-11 21:53:55 +00:00
parent dc8d11d4e0
commit 337a1d92d6

View File

@@ -0,0 +1,43 @@
SUMMARY="Croatian dictionary for aspell program/library"
DESCRIPTION="Croatian dictionary for the GNU Aspell program, an open source \
spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2004 Denis Lackovic, Kevin Atkinson"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/hr/aspell-hr-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="2ac4030354d7961e45d63b46e06e59248d59cc70dfc9e1d8ee0ae21d9c774a25"
SOURCE_DIR="aspell-hr-${portVersion/\~/-}"
ARCHITECTURES="any"
PROVIDES="
aspell_hr = $portVersion
"
REQUIRES="
haiku
aspell >= 0.60
"
BUILD_REQUIRES="
devel:libaspell
"
BUILD_PREREQUIRES="
haiku_devel
cmd:make
cmd:prezip_bin
cmd:which
cmd:basename
"
BUILD()
{
./configure
make
}
INSTALL()
{
spellDir=$dataDir/$(basename $(aspell dump config dict-dir))
make dictdir=$spellDir datadir=$spellDir install
}