summaryrefslogtreecommitdiff
blob: 0c199a5b8e31e9c76ab0d42093ab556edb0b1d82 (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="An Event Expression Library inspired by CEE"
HOMEPAGE="http://www.libee.org"
SRC_URI="http://www.libee.org/files/download/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ~hppa x86 ~amd64-linux"
IUSE="debug test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-libs/libxml2
	dev-libs/libestr
"
DEPEND="${RDEPEND}"

src_configure() {
	econf \
		--disable-static \
		$(use_enable test testbench) \
		$(use_enable debug)
}

src_compile() {
	emake -j1
}

src_install() {
	default

	# no static archives
	find "${D}" -name '*.la' -delete || die
}