gentoo/dev-db/textsearch_ja/textsearch_ja-9.0.0.ebuild
David Seifert a86311244a
dev-db/textsearch_ja: Port to EAPI 7
Closes: https://bugs.gentoo.org/742065
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert <soap@gentoo.org>
2020-09-16 13:40:42 +02:00

26 lines
597 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Integrated Full-Text-Search for Japanese language using morphological analyze"
HOMEPAGE="http://textsearch-ja.projects.postgresql.org/index.html"
SRC_URI="http://pgfoundry.org/frs/download.php/2943/textsearch_ja-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
app-text/mecab
>=dev-db/postgresql-7.4:*[server]" # pgmecab requires PGXS
RDEPEND="${DEPEND}"
src_compile() {
emake USE_PGXS=1
}
src_install() {
emake DESTDIR="${D}" USE_PGXS=1 install
}