SUMMARY="Romanian dictionary for aspell program/library"
DESCRIPTION="Romanian (Română) dictionary for the GNU Aspell program, an open \
source spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2003, 2008, 2010 Lucian Constantin, Alexandru Szasz, Ionut Paduraru \
Adrian Stoica, Nicu Buculei, Catalin Francu, Ionel Mugurel Ciobica, Mihai Budiu"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/ro/aspell5-ro-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="53c38b7668a540cf90ddca11c007ce812d2ad86bd11c2c43a08da9e06392683d"
SOURCE_DIR="aspell5-ro-${portVersion/\~/-}"

ARCHITECTURES="any"

PROVIDES="
	aspell_ro = $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
}
