SUMMARY="Ukrainian dictionary for aspell program/library"
DESCRIPTION="Ukrainian (Українська) dictionary for the GNU Aspell program, an \
open source spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="1999 Vladimir Yakovchuk, Oleg Podgurniy
	2001 Maksym Polyakov
	2001, 2005-2007 Andriy Rysin (Андрій Рисін)
	2001, 2005 Dmytro Kovalyov (Дмитро Ковальов)
	2002 Valentyn Solomko, Volodymyr M. Lisivka
	2005 Eugeniy Meshcheryakov (Євгеній Мещеряков)"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/uk/aspell6-uk-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="35f9a7e840c1272706bc6dd172bc9625cbd843d021094da8598a6abba525f18c"
SOURCE_DIR="aspell6-uk-${portVersion/\~/-}"

ARCHITECTURES="any"

PROVIDES="
	aspell_uk = $portVersion
	"
REQUIRES="
	haiku
	aspell >= 0.60
	"

BUILD_REQUIRES="
	devel:libaspell
	"
BUILD_PREREQUIRES="
	haiku_devel
	cmd:basename
	cmd:make
	cmd:prezip_bin
	cmd:which
	"

BUILD()
{
	./configure
	make
}

INSTALL()
{
	spellDir=$dataDir/$(basename $(aspell dump config dict-dir))
	make dictdir=$spellDir datadir=$spellDir install
}
