You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
873 B
37 lines
873 B
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
PYTHON_REQ_USE="xml(+)"
|
|
|
|
inherit python-any-r1 verify-sig
|
|
|
|
DESCRIPTION="Finnish dictionary for libvoikko based spell checkers (vvfst format)"
|
|
HOMEPAGE="https://voikko.puimula.org/"
|
|
SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz
|
|
verify-sig? ( https://www.puimula.org/voikko-sources/voikko-fi/${P}.tar.gz.asc )"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
|
|
DEPEND="dev-libs/foma:=
|
|
dev-libs/libvoikko"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="${PYTHON_DEPS}
|
|
dev-libs/libvoikko
|
|
verify-sig? ( sec-keys/openpgp-keys-voikko )"
|
|
|
|
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/voikko.asc
|
|
|
|
src_compile() {
|
|
emake vvfst
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}/usr/share/voikko/" vvfst-install
|
|
einstalldocs
|
|
}
|