diff options
Diffstat (limited to 'dev-libs/cxxtools/cxxtools-3.0.ebuild')
-rw-r--r-- | dev-libs/cxxtools/cxxtools-3.0.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-libs/cxxtools/cxxtools-3.0.ebuild b/dev-libs/cxxtools/cxxtools-3.0.ebuild new file mode 100644 index 000000000000..74090a93a518 --- /dev/null +++ b/dev-libs/cxxtools/cxxtools-3.0.ebuild @@ -0,0 +1,34 @@ +# 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 + + 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 +} |