blob: cff0821ae74ea9b4884c090b67c2b36ab0f58c6e (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Tools and libraries to access human-editable, plain text databases"
HOMEPAGE="https://www.gnu.org/software/recutils/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="crypt curl mdb nls"
RDEPEND="
sys-libs/readline:=
kernel_linux? ( sys-apps/util-linux )
crypt? (
dev-libs/libgcrypt:=
dev-libs/libgpg-error
)
curl? ( net-misc/curl )
mdb? (
app-office/mdbtools:=
dev-libs/glib:2
)
nls? ( virtual/libintl )
"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
virtual/pkgconfig
nls? ( sys-devel/gettext )
"
PATCHES=(
"${FILESDIR}"/${PV}
)
src_prepare() {
default
eautoreconf
}
src_configure() {
export LEX=flex
local myeconfargs=(
--enable-uuid
$(use_enable crypt encryption)
$(use_enable curl)
$(use_enable mdb)
$(use_enable nls)
)
econf "${myeconfargs[@]}"
}
src_test() {
# tests have parallel issues
emake -j1 check
}
|