From d32d445fb0631d671653029b2de14d0c611548fa Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Tue, 19 Jul 2022 19:33:48 +0100 Subject: dev-libs/dietlibc: remove old --- dev-libs/dietlibc/Manifest | 1 - dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild | 107 --------------------- dev-libs/dietlibc/metadata.xml | 28 ------ 3 files changed, 136 deletions(-) delete mode 100644 dev-libs/dietlibc/Manifest delete mode 100644 dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild delete mode 100644 dev-libs/dietlibc/metadata.xml (limited to 'dev-libs') diff --git a/dev-libs/dietlibc/Manifest b/dev-libs/dietlibc/Manifest deleted file mode 100644 index 5610c77f..00000000 --- a/dev-libs/dietlibc/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST dietlibc-0.34_pre20140729.tar.bz2 670195 BLAKE2B 9479c97c09b0c8c7e5d85536afd962613e9f5fbcb1aff3ef9b2aace19d246b2d0b637f00c3abee0a2c06f170263e85ffba94247171afc47e40c8ab0e95fe5191 SHA512 a0bb5465f7fc985fd074dfcc4039003ec26b6b5fde5f2ccc53322067bd1a6459e742c9debeffda0b5146e287baa8e49f74f4a8ffafdf1daacacec4768d13db36 diff --git a/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild b/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild deleted file mode 100644 index f7d7642a..00000000 --- a/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="A libc optimized for small size" -HOMEPAGE="https://www.fefe.de/dietlibc/" -SRC_URI="https://dev.gentoo.org/~patrick/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~arm ~ia64 ~mips sparc x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND="" -RDEPEND="" - -DIETHOME=/usr/diet - -S=${WORKDIR}/dietlibc - -IUSE_LIBC_TARGET="alpha arm armeb i386 ia64 mips mipsel parisc parisc64 ppc ppc64 s390 s390x sparc sparc64 x86_64" - -for t in ${IUSE_LIBC_TARGET} ; do - IUSE="${IUSE} target_${t}" -done - -pkg_setup() { - local _WARNING=0 - - for t in ${IUSE_LIBC_TARGET} ; do - use "target_${t}" || continue - - tC="CROSS_$t" - [[ "${!tC}" ]] && continue - - ewarn "CROSS_$t not defined, can't build" - (( _WARNING++ )) - done - - if (( _WARNING != 0 )) ; then - die "Environnement is not ready for build, see above" - fi -} - -diet_flags() { - # Reset CFLAGS - CFLAGS="" - - # Replace sparc64 related C[XX]FLAGS (see bug #45716) - use sparc && replace-sparc64-flags - - # gcc-hppa suffers support for SSP, compilation will fail - use hppa && strip-unsupported-flags - - # Makefile does not append CFLAGS - append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \ - -Wmissing-prototypes -Wmissing-declarations -Wno-switch \ - -Wno-unused -Wredundant-decls -fno-strict-aliasing - - # only use -nopie on archs that support it - gcc-specs-pie && append-flags -nopie - - append-flags -Wa,--noexecstack -} - -src_compile() { - for t in ${IUSE_LIBC_TARGET} ; do - use "target_${t}" || continue - - CHOST="${t}" - diet_flags - - tC="CROSS_$t" - - einfo "Building libc ${t}" - emake prefix="${EPREFIX}${DIETHOME}" \ - MYARCH="${t}" \ - CROSS="${!tC}" \ - CFLAGS="${CFLAGS}" \ - STRIP=: - done -} - -src_install() { - emake prefix="${EPREFIX}${DIETHOME}" \ - DESTDIR="${ED}" \ - install-headers - - for t in ${IUSE_LIBC_TARGET} ; do - use "target_${t}" || continue - - einfo "Installing libc ${t}" - emake prefix="${EPREFIX}${DIETHOME}" \ - MYARCH="${t}" \ - DESTDIR="${ED}" \ - install-bin \ - install-profiling - done - - dobin "${ED}${DIETHOME}"/bin/* - doman "${ED}${DIETHOME}"/man/*/* - rm -r "${ED}${DIETHOME}"/{man,bin} || die - - dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING -} diff --git a/dev-libs/dietlibc/metadata.xml b/dev-libs/dietlibc/metadata.xml deleted file mode 100644 index 9a9407d0..00000000 --- a/dev-libs/dietlibc/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - The diet libc is a libc that is optimized for small size. It can be - used to create small statically linked binaries for Linux on alpha, arm, - hppa, ia64, i386, mips, s390, sparc, sparc64, ppc and x86_64. - - - Support Alpha target - Support ARM target - Support ARMeb target - Support i386 target - Support IA-64 target - Support MIPS target - Support MIPSel target - Support PA-RISC target - Support PA-RISC 64 target - Support PowerPC target - Support PowerPC 64 target - Support ZSeries target - Support ZSeries/x target - Support SPARC target - Support SPARC64 target - Support amd64 target - - -- cgit v1.2.3