summaryrefslogtreecommitdiff
blob: a1bbd6ec0699d69722b7b3e1bf6f84230ccae316 (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-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Interactive search utility for electronic dictionaries"
HOMEPAGE="http://openlab.ring.gr.jp/edict/eblook/"
SRC_URI="http://openlab.ring.gr.jp/edict/eblook/dist/${PN}-$(ver_cut 1-3).tar.gz"
SRC_URI+=" mirror://debian/pool/main/e/eblook/eblook_$(ver_cut 1-3)-$(ver_cut 5).debian.tar.xz"
S="${WORKDIR}"/${PN}-$(ver_cut 1-3)

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~riscv x86"

DEPEND=">=dev-libs/eb-3.3.4"
RDEPEND="${DEPEND}"

PATCHES=(
	"${WORKDIR}"/debian/patches
)

src_prepare() {
	default

	eautoreconf
}

src_configure() {
	econf --with-eb-conf="${EPREFIX}"/etc/eb.conf
}