blob: e32a66b385dfe3193279de456aebd2fab3645faf (
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
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="A C++ logging library"
HOMEPAGE="https://www.arg0.net/rlog"
SRC_URI="https://rlog.googlecode.com/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc sparc x86"
IUSE="valgrind"
DEPEND="valgrind? ( dev-debug/valgrind )"
PATCHES=(
"${FILESDIR}"/${PN}-1.3.7-gcc-4.3.patch
"${FILESDIR}"/${PN}-1.4-fix-build-system.patch
"${FILESDIR}"/${PN}-1.4-autoconf-2.70.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf $(use_enable valgrind)
}
src_install() {
default
# package installs .pc files
find "${ED}" -name '*.la' -delete || die
}
|