Compare commits

...

2 Commits

Author SHA1 Message Date
ceamac 3e420c87b7 virtual/gcc-libs: add 16 2026-06-01 09:02:36 +03:00
ceamac 30c8a12403 sys-libs/gcc-libs: add 16 2026-06-01 09:01:48 +03:00
2 changed files with 47 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Shared libs provided by gcc for use in embedded systems"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
S="${WORKDIR}"
LICENSE="|| ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 )"
SLOT="0"
KEYWORDS="~amd64"
IUSE="cxx"
COMMON_DEPEND="virtual/libc"
DEPEND="
${COMMON_DEPEND}
!!sys-devel/gcc
"
RDEPEND="
${COMMON_DEPEND}
!sys-devel/gcc
"
BDEPEND="sys-devel/gcc:${PV}[cxx?]"
QA_PREBUILT="*"
src_install() {
dodir /usr/$(get_libdir)
cp -r "${BROOT}"/usr/lib/gcc/${CHOST}/${PV}/libgcc_s.so* "${ED}"/usr/$(get_libdir)/ || die
if use cxx; then
cp -r "${BROOT}"/usr/lib/gcc/${CHOST}/${PV}/libstdc++.so* "${ED}"/usr/$(get_libdir)/ || die
fi
}
+13
View File
@@ -0,0 +1,13 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Virtual for gcc-libs"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="|| (
~sys-libs/gcc-libs-${PV}
sys-devel/gcc:${PV}
)"