bug 174839 fixed
authorLisa M. Seelye <lisa@gentoo.org>
Sat, 21 Apr 2007 13:07:19 +0000 (13:07 +0000)
committerLisa M. Seelye <lisa@gentoo.org>
Sat, 21 Apr 2007 13:07:19 +0000 (13:07 +0000)
Package-Manager: portage-2.1.2.1

dev-util/ccache/ChangeLog
dev-util/ccache/Manifest
dev-util/ccache/ccache-2.4-r7.ebuild [new file with mode: 0644]
dev-util/ccache/files/digest-ccache-2.4-r7 [new file with mode: 0644]

index a52226bf04a94f22f577102cddb6233c6a2fb275..22d47f6f90cdbf7e806f4fc3050f329ef98b9c18 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-util/ccache
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v 1.60 2007/03/05 03:26:45 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v 1.61 2007/04/21 13:07:19 lisa Exp $
+
+*ccache-2.4-r7 (21 Apr 2007)
+
+  21 Apr 2007; Lisa Seelye <lisa@gentoo.org> +ccache-2.4-r7.ebuild:
+  bug 174839
 
   05 Mar 2007; Marius Mauch <genone@gentoo.org> ccache-2.4-r6.ebuild:
   Replacing einfo with elog
index 8f90480df15a4a061512bef6aa1975a5cfcc4c89..31db14905066343f472f6b1afcd6b9d174ec9bc2 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX ccache-2.4-respectflags.patch 403 RMD160 19efa0fcb27eba9fe7ec086b8d6e261e4485f275 SHA1 27fbedc4ee219ee6f9b2c17ef8fa30dd91a024f5 SHA256 f7006cc34ecc8315b023d4533273d47a7a34958e7037242811a58ee8570efbd5
 MD5 ff94f3cf974deb56b1effb276dc9b6ea files/ccache-2.4-respectflags.patch 403
 RMD160 19efa0fcb27eba9fe7ec086b8d6e261e4485f275 files/ccache-2.4-respectflags.patch 403
@@ -18,10 +15,14 @@ EBUILD ccache-2.4-r6.ebuild 2398 RMD160 d1a8c9755be57117c57edf5c5bfdbe9ebd08b8bf
 MD5 d298fbaa72c376a10fa17e998c8d9052 ccache-2.4-r6.ebuild 2398
 RMD160 d1a8c9755be57117c57edf5c5bfdbe9ebd08b8bf ccache-2.4-r6.ebuild 2398
 SHA256 c0b1abf6bfdd351ac13f8b176eae2393bdc6607a26937f58123ce66a1d696994 ccache-2.4-r6.ebuild 2398
-MISC ChangeLog 7836 RMD160 342ba6dd5c61694fa5d304264163e5faa2d6c029 SHA1 2ca8e30b50cfe403633592b09d41d2833645592e SHA256 1b80e0c01d98ae88245aa9e626cd0f04b7df68479120776b854e855ebb708827
-MD5 a5929d96e3834931711316a9bfef6dc1 ChangeLog 7836
-RMD160 342ba6dd5c61694fa5d304264163e5faa2d6c029 ChangeLog 7836
-SHA256 1b80e0c01d98ae88245aa9e626cd0f04b7df68479120776b854e855ebb708827 ChangeLog 7836
+EBUILD ccache-2.4-r7.ebuild 2480 RMD160 0bedf12b7ea462fa8de189edad8f7c6cf6339e2a SHA1 1c6cd99694610e3f86e2acfe45830ac1a72a0924 SHA256 2b96625033831025c50bff089f26e89c56ff242469965d6ec8d0006ed001151e
+MD5 10807ea1a462ec390dee42cfc482032f ccache-2.4-r7.ebuild 2480
+RMD160 0bedf12b7ea462fa8de189edad8f7c6cf6339e2a ccache-2.4-r7.ebuild 2480
+SHA256 2b96625033831025c50bff089f26e89c56ff242469965d6ec8d0006ed001151e ccache-2.4-r7.ebuild 2480
+MISC ChangeLog 7946 RMD160 45ff2d4b7f72c7e3c6b58ec8b0302460780f249e SHA1 04ef46bf3000074a8aae2a5687226b6777c2c049 SHA256 5da2e4c0dce26161998f5faae758f3026fcad50d978d936e17e798337a330135
+MD5 2b2bd7539dbc062941b855d70eb653b5 ChangeLog 7946
+RMD160 45ff2d4b7f72c7e3c6b58ec8b0302460780f249e ChangeLog 7946
+SHA256 5da2e4c0dce26161998f5faae758f3026fcad50d978d936e17e798337a330135 ChangeLog 7946
 MISC metadata.xml 386 RMD160 ce4575786bca697d8f590d466ac4ffbeaed873cb SHA1 c1c307ca690b90b14ef22dfeb2f467dd4076ccd7 SHA256 c15bee3a15e41c52b133ef6b2ec2fb16ba668d25f5c890d1ab3efa89a9043518
 MD5 0e91c81450afb11a7d06d7543dddcd57 metadata.xml 386
 RMD160 ce4575786bca697d8f590d466ac4ffbeaed873cb metadata.xml 386
@@ -29,10 +30,6 @@ SHA256 c15bee3a15e41c52b133ef6b2ec2fb16ba668d25f5c890d1ab3efa89a9043518 metadata
 MD5 27bad4926cc94284b9b073c90dac85aa files/digest-ccache-2.4-r6 229
 RMD160 24aecd7bc84d836a161fc80f52e9c1aa3fe55e08 files/digest-ccache-2.4-r6 229
 SHA256 0c93b8a649be25d52071810b71684c206ad16fdfaebc1b1f8edf7681b620e35c files/digest-ccache-2.4-r6 229
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFF647k6J2i8a8J4okRAtRzAJwOokl6XEtp9upz6KkEHmIct4jD5QCdGOlL
-7TUqUdg9CdyJcdeaPrGXHdc=
-=84tw
------END PGP SIGNATURE-----
+MD5 27bad4926cc94284b9b073c90dac85aa files/digest-ccache-2.4-r7 229
+RMD160 24aecd7bc84d836a161fc80f52e9c1aa3fe55e08 files/digest-ccache-2.4-r7 229
+SHA256 0c93b8a649be25d52071810b71684c206ad16fdfaebc1b1f8edf7681b620e35c files/digest-ccache-2.4-r7 229
diff --git a/dev-util/ccache/ccache-2.4-r7.ebuild b/dev-util/ccache/ccache-2.4-r7.ebuild
new file mode 100644 (file)
index 0000000..84e1d8e
--- /dev/null
@@ -0,0 +1,85 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ccache-2.4-r7.ebuild,v 1.1 2007/04/21 13:07:19 lisa Exp $
+
+inherit eutils autotools multilib
+
+DESCRIPTION="fast compiler cache"
+HOMEPAGE="http://ccache.samba.org/"
+SRC_URI="http://samba.org/ftp/ccache/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE=""
+
+# Note: this version is designed to be auto-detected and used if
+# you happen to have Portage 2.0.X+ installed.
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       epatch "${FILESDIR}"/ccache-2.4-respectflags.patch
+       epatch "${FILESDIR}"/ccache-2.4-utimes.patch
+       eautoconf
+}
+
+do_links() {
+       insinto /usr/$(get_libdir)/ccache/bin
+       for a in ${CHOST}-{gcc,g++,c++} gcc c++ g++; do
+           dosym /usr/bin/ccache /usr/$(get_libdir)/ccache/bin/${a}
+       done
+}
+
+
+src_install() {
+       dobin ccache || die
+       doman ccache.1
+       dodoc README
+       dohtml web/*.html
+
+       diropts -m0755
+       dodir /usr/$(get_libdir)/ccache/bin
+       keepdir /usr/$(get_libdir)/ccache/bin
+
+       dobin "${FILESDIR}"/ccache-config || die
+
+       diropts -m0700
+       if use ppc-macos; then
+               dodir /var/root/.ccache
+               keepdir /var/root/.ccache
+       else
+               dodir /root/.ccache
+               keepdir /root/.ccache
+       fi
+}
+
+pkg_preinst() {
+       # Do NOT duplicate this in your ebuilds or phear of the wrath!!!
+       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() {
+       # nuke broken symlinks from previous versions that shouldn't exist
+       for i in cc ${CHOST}-cc ; do
+           [[ -L "${ROOT}/usr/$(get_libdir)/ccache/bin/${i}" ]] && \
+                       rm -rf "${ROOT}/usr/$(get_libdir)/ccache/bin/${i}"
+       done
+       [[ -d "${ROOT}/usr/$(get_libdir)/ccache.backup" ]] && \
+               rm -fr "${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 2.0.46-r11+ will automatically take advantage of ccache with"
+       elog "no additional steps.  If this is your first install of ccache, type"
+       elog "something like this to set a maximum cache size of 2GB:"
+       elog "# ccache -M 2G"
+}
diff --git a/dev-util/ccache/files/digest-ccache-2.4-r7 b/dev-util/ccache/files/digest-ccache-2.4-r7
new file mode 100644 (file)
index 0000000..3615329
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 73c1ed1e767c1752dd0f548ec1e66ce7 ccache-2.4.tar.gz 86363
+RMD160 43a0647c7faf659121a53a92ec45d245b8140124 ccache-2.4.tar.gz 86363
+SHA256 435f862ca5168c346f5aa9e242174bbf19a5abcaeecfceeac2f194558827aaa0 ccache-2.4.tar.gz 86363