mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-25 00:19:49 +02:00
Closes: https://bugs.gentoo.org/924142
Upstream-PR: https://github.com/sina-ht/multiskkserv/pull/1
Upstream-Commit: 20983c7ea4
Signed-off-by: orbea <orbea@riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35473
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
46 lines
844 B
Bash
46 lines
844 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="8"
|
|
|
|
inherit autotools
|
|
|
|
DESCRIPTION="SKK server that handles multiple dictionaries"
|
|
HOMEPAGE="https://www3.big.or.jp/~sian/linux/products/"
|
|
SRC_URI="https://www3.big.or.jp/~sian/linux/products/${P}.tar.xz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="app-i18n/skk-jisyo[cdb]
|
|
|| (
|
|
dev-db/tinycdb
|
|
dev-db/cdb
|
|
)"
|
|
DEPEND="${RDEPEND}
|
|
test? ( app-i18n/nkf )"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-cdb.patch
|
|
"${FILESDIR}"/${PN}-slibtool.patch #924142
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
mv configure.{in,ac}
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf --with-cdb="${EPREFIX}"/usr
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
|
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
|
}
|