summaryrefslogtreecommitdiff
path: root/app-dicts/dictd-gcide/dictd-gcide-0.48.5_p4.ebuild
blob: e65851c66274c49561345e6275ff0e869f3f720c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PN=dict-gcide
MY_PV=${PV%_p*}+nmu${PV#*_p}

DESCRIPTION="Collaborative International Dictionary of English (incl. Webster 1913) for dict"
HOMEPAGE="https://tracker.debian.org/pkg/dict-gcide"
SRC_URI="mirror://debian/pool/main/d/${MY_PN}/${MY_PN}_${MY_PV}.tar.xz -> ${P}.tar.xz"
S="${WORKDIR}/${MY_PN}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="app-text/dictd"
DEPEND="dev-libs/libmaa"
BDEPEND="
	${RDEPEND}
	app-alternatives/lex
	app-alternatives/yacc
"

src_compile() {
	emake -j1 db
}

src_install() {
	insinto /usr/share/dict
	doins gcide.dict.dz gcide.index
}