summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2022-07-19 19:33:48 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2022-07-19 19:33:48 +0100
commitd32d445fb0631d671653029b2de14d0c611548fa (patch)
treef5a9d060a58af54af861d0b5a52832e1cb1ef947 /dev-libs
parentdev-lang/php: remove old (diff)
downloadportage-d32d445fb0631d671653029b2de14d0c611548fa.tar.xz
dev-libs/dietlibc: remove old
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/dietlibc/Manifest1
-rw-r--r--dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild107
-rw-r--r--dev-libs/dietlibc/metadata.xml28
3 files changed, 0 insertions, 136 deletions
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 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>
- 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.
- </longdescription>
- <use>
- <flag name='target_alpha'>Support Alpha target</flag>
- <flag name='target_arm'>Support ARM target</flag>
- <flag name='target_armeb'>Support ARMeb target</flag>
- <flag name='target_i386'>Support i386 target</flag>
- <flag name='target_ia64'>Support IA-64 target</flag>
- <flag name='target_mips'>Support MIPS target</flag>
- <flag name='target_mipsel'>Support MIPSel target</flag>
- <flag name='target_parisc'>Support PA-RISC target</flag>
- <flag name='target_parisc64'>Support PA-RISC 64 target</flag>
- <flag name='target_ppc'>Support PowerPC target</flag>
- <flag name='target_ppc64'>Support PowerPC 64 target</flag>
- <flag name='target_s390'>Support ZSeries target</flag>
- <flag name='target_s390x'>Support ZSeries/x target</flag>
- <flag name='target_sparc'>Support SPARC target</flag>
- <flag name='target_sparc64'>Support SPARC64 target</flag>
- <flag name='target_x86_64'>Support amd64 target</flag>
- </use>
-</pkgmetadata>