Files
linamh/sys-libs/lib-compat/lib-compat-1.5_p27.ebuild
T
2026-07-13 03:34:06 +02:00

47 lines
1.0 KiB
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker
DEB_PV="2.95.4-27"
DEB_PN="libstdc++2.10-glibc2.2"
DEB_FILE="${DEB_PN}_${DEB_PV}_i386.deb"
SRC_BASE="https://archive.debian.org/debian/pool/main/g/gcc-2.95"
DESCRIPTION="Compatibility C++ library for very old programs"
HOMEPAGE="
https://www.gentoo.org/
https://archive.debian.org/debian/pool/main/g/gcc-2.95/
"
SRC_URI="
${SRC_BASE}/${DEB_FILE}
${SRC_BASE}/gcc-2.95_2.95.4.ds15.orig.tar.gz
${SRC_BASE}/gcc-2.95_2.95.4.ds15-27.diff.gz
${SRC_BASE}/gcc-2.95_2.95.4.ds15-27.dsc
"
S="${WORKDIR}"
LICENSE="libstdc++"
SLOT="0"
KEYWORDS="amd64"
RESTRICT="strip mirror"
QA_PREBUILT="
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
/usr/lib/libstdc++-libc6.2-2.so.3
"
QA_EXECSTACK="usr/lib/libstdc++-3-libc6.2-2-2.10.0.so"
src_unpack() {
unpack_deb "${DISTDIR}/${DEB_FILE}"
}
src_install() {
insinto /usr/lib
doins usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
dosym libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++-libc6.2-2.so.3
}