aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ccache-clang/ccache-clang-0.1.ebuild')
-rw-r--r--dev-util/ccache-clang/ccache-clang-0.1.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-util/ccache-clang/ccache-clang-0.1.ebuild b/dev-util/ccache-clang/ccache-clang-0.1.ebuild
new file mode 100644
index 000000000..efc0230d9
--- /dev/null
+++ b/dev-util/ccache-clang/ccache-clang-0.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit multilib
+
+DESCRIPTION="dev-util/ccache symlinks for sys-devel/clang"
+HOMEPAGE="http://ccache.samba.org/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="
+ dev-util/ccache
+ sys-devel/clang
+ "
+DEPEND=""
+
+S="${T}"
+
+src_install() {
+ dosym "/usr/bin/ccache" "/usr/$(get_libdir)/ccache/bin/clang"
+ dosym "/usr/bin/ccache" "/usr/$(get_libdir)/ccache/bin/clang++"
+}