/[gentoo-x86]/sys-devel/clang/clang-3.3-r100.ebuild
Gentoo

Contents of /sys-devel/clang/clang-3.3-r100.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sun Mar 23 11:03:40 2014 UTC (4 years, 3 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +2 -2 lines
Stable for ppc, wrt bug #491018

(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --include-arches="ppc", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-3.3-r100.ebuild,v 1.10 2014/03/05 21:19:19 maekke Exp $
4
5 EAPI=5
6
7 inherit multilib-build
8
9 DESCRIPTION="C language family frontend for LLVM (meta-ebuild)"
10 HOMEPAGE="http://clang.llvm.org/"
11 SRC_URI=""
12
13 LICENSE="UoI-NCSA"
14 SLOT="0/${PV}"
15 KEYWORDS="amd64 arm ppc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos"
16 IUSE="debug multitarget python +static-analyzer"
17
18 RDEPEND="~sys-devel/llvm-${PV}[clang(-),debug=,multitarget?,python?,static-analyzer,${MULTILIB_USEDEP}]"
19
20 # Please keep this package around since it's quite likely that we'll
21 # return to separate LLVM & clang ebuilds when the cmake build system
22 # is complete.
23
24 pkg_postinst() {
25 if has_version ">=dev-util/ccache-3.1.9-r2" ; then
26 #add ccache links as clang might get installed after ccache
27 "${EROOT}"/usr/bin/ccache-config --install-links
28 fi
29 }
30
31 pkg_postrm() {
32 if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then
33 # --remove-links would remove all links, --install-links updates them
34 "${EROOT}"/usr/bin/ccache-config --install-links
35 fi
36 }

  ViewVC Help
Powered by ViewVC 1.1.20