mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-libs/cxxtools: new HOME and SRC_URI
new maintainer Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Closes: https://github.com/gentoo/gentoo/pull/36976 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
742abe267d
commit
a97e00df84
@@ -1 +1,2 @@
|
||||
DIST cxxtools-3.0.tar.gz 1079247 BLAKE2B 536680373e194dbdb6a79bdb09960830b6aad34c2657a0024b218321154de81653f1e47db13abfcf13f0179fa6f85e0a30a4b97f0e64ca0ac5f1cc7be003270d SHA512 839be18a8bf40c1cbaa016ac50ddacfd879d1f9bea6521209c65790d67d5ee81377519aac2fb373a5de154a293e33185401848e41a697aa57ad6aa42d4854250
|
||||
DIST cxxtools-3.0.tgz 668184 BLAKE2B 914ad057888d943c438491590e905505c13c938cafa0b81586f42ff7fd4059815e85f89b6a6ae799dee9e1a239b31840d9e328d92d28aab1e2dc78fb9e9ea674 SHA512 a08d667bcc9e998ed94cd749fe632560ea7d014968bd9f1515b711f9533111f50612aff62fcc0154bdfe17823c7b708f945a83bb681407b42496d370aaaa6594
|
||||
|
||||
56
dev-libs/cxxtools/cxxtools-3.0-r3.ebuild
Normal file
56
dev-libs/cxxtools/cxxtools-3.0-r3.ebuild
Normal file
@@ -0,0 +1,56 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Collection of general purpose C++-classes"
|
||||
HOMEPAGE="https://github.com/maekitalo/cxxtools"
|
||||
SRC_URI="https://github.com/maekitalo/cxxtools/archive/refs/tags/V${PV}.tar.gz -> ${P}.tgz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="virtual/libiconv"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}_gcc11.patch
|
||||
"${FILESDIR}"/${PN}-3.0-gcc12-time.patch
|
||||
"${FILESDIR}"/${PN}-3.0-lld-linking-openssl.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-demos \
|
||||
$(use_enable test unittest)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -C test
|
||||
|
||||
local -x USER=${LOGNAME}
|
||||
local -x TZ=UTC # doesn't like e.g. :/etc/timezone
|
||||
cd test || die
|
||||
./alltests || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
|
||||
# remove static libs
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
}
|
||||
@@ -1,8 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>vdr@gentoo.org</email>
|
||||
<name>Gentoo VDR Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>martin.dummer@gmx.net</email>
|
||||
<name>Martin Dummer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>vdr@gentoo.org</email>
|
||||
<name>Gentoo VDR Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">maekitalo/cxxtools</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user