summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2010-11-19 14:16:36 +0100
committerMartin Väth <martin@mvath.de>2015-10-11 10:46:20 +0200
commit12e7a4a58686ed8dd3e4cfa87907158cb809c9b7 (patch)
treea7cebcad6cf56f697b9d43734ec72eaaed906084 /dev-util/ccache
parentBump squash_dir and flashgot (diff)
downloadmv-12e7a4a58686ed8dd3e4cfa87907158cb809c9b7.tar.gz
mv-12e7a4a58686ed8dd3e4cfa87907158cb809c9b7.tar.bz2
mv-12e7a4a58686ed8dd3e4cfa87907158cb809c9b7.zip
Remove ccache, since ccache-3.1.1 is now in the portage tree
Diffstat (limited to 'dev-util/ccache')
-rw-r--r--dev-util/ccache/ChangeLog44
-rw-r--r--dev-util/ccache/Manifest5
-rw-r--r--dev-util/ccache/ccache-3.1.1.ebuild119
-rwxr-xr-xdev-util/ccache/files/ccache-config69
-rw-r--r--dev-util/ccache/metadata.xml17
5 files changed, 0 insertions, 254 deletions
diff --git a/dev-util/ccache/ChangeLog b/dev-util/ccache/ChangeLog
deleted file mode 100644
index f5ab3bce..00000000
--- a/dev-util/ccache/ChangeLog
+++ /dev/null
@@ -1,44 +0,0 @@
-# ChangeLog for dev-util/ccache
-# Copyright 2002-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header $
-
-*ccache-3.1.1 (10 Nov 2010)
-
- 10 Nov 2010; Martin Väth <martin@mvath.de>
- revbump to 3.1.1 and remove old. Remove unneeded patch.
-
-*ccache-3.1 (25 Sep 2010)
-
- 25 Sep 2010; Martin Väth <martin@mvath.de>
- revbump to 3.1 and remove old. Add support for colorgcc and html doc.
-
- 06 Aug 2010; Martin Väth <martin@mvath.de>
- Support EPREFIX and minor bugfixes. Introduce IUSE=defaults.
-
-*ccache-3.0.1 (16 Jul 2010)
-
- 16 Jul 2010; Martin Väth <martin@mvath.de>
- revbump to 3.0.1 and remove old. This is a bugfix release.
-
-*ccache-3.0 (22 Jun 2010)
-
- 29 Jun 2010; Martin Väth <martin@mvath.de>
- Set also CCACHE_SLOPPINESS in /etc/env.d; bump to force upgrade.
- Make CCACHE_BASEDIR warning clearer.
-
- 22 Jun 2010; Martin Väth <martin@mvath.de>
- revbump; remove old.
-
-*ccache-3.0-pre1 (22 May 2010)
-
- 22 May 2010; Martin Väth <martin@mvath.de>
- revbump; remove old.
- Add zlib dependency. Put CCACHE_COMPRESS=true into env.d
-
- 07 Apr 2010; Martin Väth <martin@mvath.de>
- Add RESTRICT="mirror"
-
-*ccache-3.0-pre0 (03 Apr 2010)
-
- 03 Apr 2010; Martin Väth <martin@mvath.de>
- Version bump from the portage tree; clearing previous ChangeLog.
diff --git a/dev-util/ccache/Manifest b/dev-util/ccache/Manifest
deleted file mode 100644
index 55d9910b..00000000
--- a/dev-util/ccache/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX ccache-config 1627 RMD160 b5e6a9f509130abd657fd6ec297d7fcbdb094f9d SHA1 698c3235f0685e03f346e4b155897862560974ee SHA256 d438b7d266e17bf95d6c45e619ea8d9040217e70f34eac5cf6fae010f25bb72f
-DIST ccache-3.1.1.tar.bz2 251474 RMD160 b619ddd8148d462f2150a05d881ee8f053b5bbfd SHA1 896ea4e99431562bb9406009b016d153c6f300e4 SHA256 3048eae7dc744f69414f6c0e12b7c6f115490998b24bc854122fbb3142fa2973
-EBUILD ccache-3.1.1.ebuild 3564 RMD160 192c313f7ac57cbf3d62f11c6be3c41cfcf980e1 SHA1 b4fa2b355babb0aad340f8845387a498ead81984 SHA256 4faa4d8e3e6a9228c0ef1ed9b8b50a127565f22d636936564a63b04dab4aab19
-MISC ChangeLog 1431 RMD160 1be42ab9b618171aa737edd4ddb530a0be1091bc SHA1 3d5d0b8e519043a95afa3f646feeeb0b77565186 SHA256 0f8013724ef0c4452e45c964549df606458e03384727e11cf104f8258c22fd4d
-MISC metadata.xml 627 RMD160 bb4a7b1841590483ad944265749d240249aaaa07 SHA1 ea09fe4bbe7e903cad111818b57118f07be54884 SHA256 99fcc094e02f75e56ebf23265a90df40bd31079ac787dcbed52b868b933d409a
diff --git a/dev-util/ccache/ccache-3.1.1.ebuild b/dev-util/ccache/ccache-3.1.1.ebuild
deleted file mode 100644
index 1b690001..00000000
--- a/dev-util/ccache/ccache-3.1.1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header $
-
-EAPI="3"
-
-inherit multilib
-RESTRICT="mirror"
-
-DESCRIPTION="fast compiler cache"
-HOMEPAGE="http://ccache.samba.org/"
-MY_P="${P/_/}"
-SRC_URI="http://samba.org/ftp/ccache/${MY_P}.tar.bz2"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="colorgcc +defaults doc"
-
-DEPEND="sys-libs/zlib"
-RDEPEND="${DEPEND}
- colorgcc? ( dev-util/colorgcc )"
-
-do_links() {
- local a b
- for a in gcc c++ g++
- do for b in "${CHOST}"- ''
- do dosym "${EROOT%/}/usr/bin/ccache" \
- "${EPREFIX%/}/usr/$(get_libdir)/ccache/bin/${b}${a}"
- done
- done
-}
-
-src_install() {
- local colorgcc_config
- colorgcc_config=''
- if use colorgcc
- then echo "#!${EPREFIX}/usr/bin/perl
-\$0=\$ARGV[0];shift(@ARGV);require('${EPREFIX}/usr/bin/colorgcc');" \
- >color-gcc
- dobin color-gcc || die
- colorgcc_config="
-# CCACHE_PREFIX=\"${EPREFIX}/usr/bin/color-gcc\""
- fi
- if use defaults
- then echo '# Do not edit this file.
-# If you want to remove a variable, you should remove this whole file by
-# reemerging ccache with USE=-defaults
-# If you want to set (additional) variables, do that in /etc/env.d/99ccache
-CCACHE_SLOPPINESS="file_macro,time_macros,include_file_mtime"
-CCACHE_COMPRESS=1'"${colorgcc_config}" >98ccache
- doenvd 98ccache || die
- fi
- dobin ccache || die
- doman ccache.1 || die
- dodoc README.txt NEWS.txt AUTHORS.txt || die
- if use doc
- then # Manual.{txt,html} is the same content as the manpage
- dodoc MANUAL.txt
- dohtml README.html NEWS.html AUTHORS.html MANUAL.html
- fi
-
- diropts -m0755
- dodir "${EPREFIX%/}/usr/$(get_libdir)/ccache/bin"
- keepdir "${EPREFIX%/}/usr/$(get_libdir)/ccache/bin"
-
- dobin "${FILESDIR}"/ccache-config || die
-}
-
-pkg_preinst() {
- if [ "${ROOT}" = "/" ]
- then einfo "Scanning for compiler front-ends..."
- do_links
- else ewarn "Install is incomplete; you must run the following commands:"
- ewarn " # ccache-config --install-links"
- ewarn " # ccache-config --install-links ${CHOST}"
- ewarn "after booting or chrooting to ${ROOT} to complete installation."
- fi
-}
-
-pkg_postinst() {
- local i
- # nuke broken symlinks from previous versions that shouldn't exist
- for i in cc "${CHOST}"-cc
- do test -L "${ROOT}/usr/$(get_libdir)/ccache/bin/${i}" && \
- rm -rf -- "${ROOT}/usr/$(get_libdir)/ccache/bin/${i}"
- done
- test -d "${ROOT}/usr/$(get_libdir)/ccache.backup" && \
- rm -rf -- "${ROOT}/usr/$(get_libdir)/ccache.backup"
-
- elog "To use ccache with **non-Portage** C compiling, add"
- elog "/usr/$(get_libdir)/ccache/bin to the beginning of your path, before /usr/bin."
- elog "Portage can will automatically take advantage of ccache if you use"
- elog "FEATURES=ccache"
- elog "If this is your first install of ccache, type something like this"
- elog "to set a maximum cache size of 4GB:"
- elog " CCACHE_DIR=\"${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}\" ccache -M 4G"
- elog
- elog "If you are upgrading from an older version than 3.x you should run"
- elog " CCACHE_DIR=\"${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}\" ccache -C"
- if use defaults
- then elog
- elog "Observe that some default choices are made in /etc/env.d/98ccache"
- fi
- if use colorgcc
- then elog
- elog "To use dev-util/colorgcc with ccache you can"
- elog " export CCACHE_PREFIX=\"${EPREFIX}/usr/bin/color-gcc\""
- fi
-
- case "${PORTAGE_TMPDIR}/portage/*" in
- "${CCACHE_BASEDIR:-none}"/*) :;;
- *)
- ewarn "To make optimal use of ccache with portage, please set"
- ewarn " CCACHE_BASEDIR=\"\${PORTAGE_TMPDIR}/portage\""
- ewarn "in your /etc/make.conf";;
- esac
-}
diff --git a/dev-util/ccache/files/ccache-config b/dev-util/ccache/files/ccache-config
deleted file mode 100755
index 0ca7375d..00000000
--- a/dev-util/ccache/files/ccache-config
+++ /dev/null
@@ -1,69 +0,0 @@
-#! /bin/sh
-#
-# ccache-config - helper script for ccache and its ebuild
-#
-# Copyright 2003 Superlucidity Services, LLC
-# This program licensed under the GNU GPL version 2.
-#
-# This script developed by Zachary T Welch at Superlucidity Services, LLC
-# it was cloned from the distcc-config script
-#
-# Ported to POSIX by Martin Väth <martin@mvath.de>
-#
-# Additional features to come; this provides a starting point
-
-# this should be getopt'd someday (override with CC_QUIET=1)
-CC_VERBOSE=1
-
-cc_echo() {
- [ -z "${CC_QUIET}" ] && [ -n "${CC_VERBOSE}" ] && printf '%s\n' "${*}"
-}
-
-###
-# the following functions manage the ccache symlinks
-# they allow the user or other scripts (namely gcc-config) to
-# automatically update ccache's links when upgrading toolchains
-#
-cc_remove_link() {
- t="/usr/lib/ccache/bin/${1}"
- if test -L "${t}"
- then cc_echo "Removing ${t}..."
- rm -f -- "${t}"
- fi
-}
-cc_install_link() {
- # Search the PATH for the specified compiler
- # then create shadow link in /usr/lib/ccache/bin to ccache
-
- if command -v "${1}" >/dev/null 2>&1
- then # first be sure any old link is removed
- CC_QUIET=1 cc_remove_link "${1}"
-
- # then create the new link
- t="/usr/lib/ccache/bin/${1}"
- cc_echo "Creating ccache shadow link: ${t}..."
- ln -s -- /usr/bin/ccache "${t}"
- fi
-}
-cc_links() {
- for a in gcc cc c++ g++
- do [ -n "${2}" ] && a="${2}-${a}"
- eval "cc_${1}_link" "${a}"
- done
-}
-
-###
-# main routine
-
-case "${1}" in
---install-links)
- cc_links install "${2}"
- ;;
---remove-links)
- cc_links remove "${2}"
- ;;
-*)
- printf '%s\n' "Usage: ${0##*/} {--install-links|--remove-links} [ CHOST ]"
- ;;
-esac
-
diff --git a/dev-util/ccache/metadata.xml b/dev-util/ccache/metadata.xml
deleted file mode 100644
index 906b51bb..00000000
--- a/dev-util/ccache/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>martin@mvath.de</email>
- <name>Martin Väth</name>
-</maintainer>
-<longdescription lang="en">
- ccache acts as a caching pre-processor to C/C++ compilers, improving
- compilation time when recompiling previously compiled source.
-</longdescription>
-<use>
- <flag name="defaults">Set some default environment variables in /etc/env.d/98ccache</flag>
- <flag name="colorgcc">Add the wrapper color-gcc for dev-util/colorgcc</flag>
-</use>
-</pkgmetadata>