dev-cpp/pcg-cpp: treeclean

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2025-09-05 00:23:10 +02:00
parent 92b5d20478
commit 4c7294d28d
4 changed files with 0 additions and 66 deletions

View File

@@ -1 +0,0 @@
DIST pcg-cpp-0.98.1_p20210406.tar.gz 78228 BLAKE2B 5cb1ded0bbc04a147975f3a40ca8e50becbd50e1d325a1f0bdff37bb2030bc15063601650a6bf8db252688e5f80cb950e14ebc14f2c9be37b6415be9074aa258 SHA512 e96e40bf63ddb29ebf8679ddaabbf5dc934173f38cb5ed97c5efe068a742a715daa05e38d9ae322a10fa538c8ec7a271622bfb6569256a471fe5e1c9a83f9e3f

View File

@@ -1,9 +0,0 @@
prefix=@PREFIX@
exec_prefix=${prefix}
includedir=${prefix}/include
Name: pcg-cpp
Description: Family of better random number generators
URL: https://www.pcg-random.org
Version: 0.98.1
Cflags: -I${includedir}

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">mneme/pcg-cpp</remote-id>
<bugs-to>https://github.com/imneme/pcg-cpp/issues</bugs-to>
<doc>https://www.pcg-random.org/using-pcg-cpp.html</doc>
</upstream>
<!-- maintainer-needed -->
</pkgmetadata>

View File

@@ -1,46 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
COMMIT="ffd522e7188bef30a00c74dc7eb9de5faff90092"
DESCRIPTION="Family of better random number generators"
HOMEPAGE="https://www.pcg-random.org https://github.com/imneme/pcg-cpp"
SRC_URI="https://github.com/imneme/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="|| ( Apache-2.0 MIT )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
RESTRICT="!test? ( test )"
# header-only library
src_compile() {
tc-export CXX
if use test ; then
cd test-high || die
emake
fi
}
src_test() {
cd test-high || die
sh ./run-tests.sh || die
}
src_install() {
doheader include/*
docompress -x /usr/share/doc/${PF}/sample
use examples && dodoc -r sample
einstalldocs
insinto /usr/$(get_libdir)/pkgconfig
doins "${FILESDIR}"/pcg-cpp.pc
sed -e "s:@PREFIX@:${EPREFIX}/usr:" \
-i "${ED}"/usr/$(get_libdir)/pkgconfig/pcg-cpp.pc || die
}