1 |
vapier 12/01/08 19:44:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ccache-3.1.7.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.87 dev-util/ccache/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/ChangeLog?rev=1.87&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/ChangeLog?rev=1.87&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/ChangeLog?r1=1.86&r2=1.87 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v |
20 |
retrieving revision 1.86 |
21 |
retrieving revision 1.87 |
22 |
diff -u -r1.86 -r1.87 |
23 |
--- ChangeLog 3 Dec 2011 10:53:16 -0000 1.86 |
24 |
+++ ChangeLog 8 Jan 2012 19:44:11 -0000 1.87 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-util/ccache |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v 1.86 2011/12/03 10:53:16 maekke Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v 1.87 2012/01/08 19:44:11 vapier Exp $ |
31 |
+ |
32 |
+*ccache-3.1.7 (08 Jan 2012) |
33 |
+ |
34 |
+ 08 Jan 2012; Mike Frysinger <vapier@g.o> +ccache-3.1.7.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
03 Dec 2011; Markus Meier <maekke@g.o> ccache-3.1.6.ebuild: |
38 |
arm stable, bug #390989 |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-util/ccache/ccache-3.1.7.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/ccache-3.1.7.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ccache/ccache-3.1.7.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: ccache-3.1.7.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ccache-3.1.7.ebuild,v 1.1 2012/01/08 19:44:11 vapier Exp $ |
52 |
|
53 |
inherit multilib |
54 |
|
55 |
DESCRIPTION="fast compiler cache" |
56 |
HOMEPAGE="http://ccache.samba.org/" |
57 |
SRC_URI="http://samba.org/ftp/ccache/${P}.tar.gz" |
58 |
|
59 |
LICENSE="GPL-3" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
62 |
IUSE="" |
63 |
|
64 |
RDEPEND="sys-libs/zlib" |
65 |
DEPEND="${RDEPEND}" |
66 |
|
67 |
src_unpack() { |
68 |
unpack ${A} |
69 |
cd "${S}" |
70 |
# make sure we always use system zlib |
71 |
rm -rf zlib |
72 |
} |
73 |
|
74 |
src_install() { |
75 |
emake install DESTDIR="${D}" || die |
76 |
dodoc AUTHORS.txt MANUAL.txt NEWS.txt README.txt |
77 |
|
78 |
dobin "${FILESDIR}"/ccache-config || die |
79 |
dosed "/^LIBDIR=/s:lib:$(get_libdir):" /usr/bin/ccache-config |
80 |
|
81 |
diropts -m0700 |
82 |
dodir /root/.ccache |
83 |
keepdir /root/.ccache |
84 |
} |
85 |
|
86 |
pkg_postinst() { |
87 |
"${ROOT}"/usr/bin/ccache-config --install-links |
88 |
"${ROOT}"/usr/bin/ccache-config --install-links ${CHOST} |
89 |
|
90 |
# nuke broken symlinks from previous versions that shouldn't exist |
91 |
rm -f "${ROOT}/usr/$(get_libdir)/ccache/bin/${CHOST}-cc" |
92 |
[[ -d "${ROOT}/usr/$(get_libdir)/ccache.backup" ]] && \ |
93 |
rm -rf "${ROOT}/usr/$(get_libdir)/ccache.backup" |
94 |
|
95 |
elog "To use ccache with **non-Portage** C compiling, add" |
96 |
elog "/usr/$(get_libdir)/ccache/bin to the beginning of your path, before /usr/bin." |
97 |
elog "Portage 2.0.46-r11+ will automatically take advantage of ccache with" |
98 |
elog "no additional steps. If this is your first install of ccache, type" |
99 |
elog "something like this to set a maximum cache size of 2GB:" |
100 |
elog "# ccache -M 2G" |
101 |
elog |
102 |
elog "If you are upgrading from an older version than 3.x you should clear" |
103 |
elog "all of your caches like so:" |
104 |
elog "# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C" |
105 |
} |