blob: 63310078b43216a932c0e13dcf092b150e7ecfd1 (
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
|
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Collection of general purpose C++-classes"
HOMEPAGE="http://www.tntnet.org/cxxtools.html"
SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
RDEPEND="virtual/libiconv"
DEPEND="${RDEPEND}"
DOCS=( AUTHORS )
src_configure() {
econf \
--disable-dependency-tracking \
--disable-demos \
--disable-unittest
eapply "${FILESDIR}/${P}_gcc11.patch"
default
}
src_install() {
emake DESTDIR="${D}" install
einstalldocs
# remove static libs
rm -f "${ED}"/usr/$(get_libdir)/libcxxtools{,-bin,-http,-json,-unit,-xmlrpc}.la || die
}
|