Files
haikuports/app-dicts/aspell_ru/aspell_ru-0.99f7~1.recipe
fbrosson 44700fb58c aspell: bump en dictionary & add de, es, it, pl, pt_BR, pt_PT, ru. (#571)
* Bump aspell_en to 2016.01.19-0 and switch it to "any" arch.
* Do not use 2016.01.19_0 but 2016.01.19~0 (i.e. with a tilde instead
  of the underscore) in the name of the recipe in order to be able to
  define SOURCE_{URI,DIR} using "${portVersion/\~/-}", thus avoiding
  hard-coded version-related strings in the recipe.
* Remove from aspell_en's DESCRIPTION what's already in aspell's.
* Add: de (German), es (Spanish), it (Italian), pl (Polish), pt_BR
  (Brazilian Portuguese), pt_PT (Portuguese), ru (Russian).
2016-04-22 22:10:44 +00:00

44 lines
864 B
Bash

SUMMARY="Russian dictionary for aspell program/library"
DESCRIPTION="Russian language dictionary for the GNU Aspell program, an open \
source spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2003-2004 Alexander Lebedev"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/ru/aspell6-ru-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="5c29b6ccce57bc3f7c4fb0510d330446b9c769e59c92bdfede27333808b6e646"
SOURCE_DIR="aspell6-ru-${portVersion/\~/-}"
ARCHITECTURES="any"
PROVIDES="
aspell_ru = $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
}