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