mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
35 lines
704 B
Bash
35 lines
704 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit cmake-utils
|
|
|
|
DESCRIPTION="Compiler plugin which allows clang to understand Qt semantics"
|
|
HOMEPAGE="https://github.com/KDE/clazy/blob/master/README.md"
|
|
SRC_URI="mirror://kde/stable/${PN}/${PV}/${PN}_v${PV}-src.zip"
|
|
|
|
LICENSE="LGPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
|
|
RDEPEND="
|
|
>=sys-devel/llvm-3.8:0[clang]
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
app-arch/unzip
|
|
"
|
|
|
|
DOCS=( README.md )
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
sed -e '/install(FILES README.md COPYING-LGPL2.txt DESTINATION/d' \
|
|
-i CMakeLists.txt || die
|
|
|
|
sed -e 's|${MAN_INSTALL_DIR}|share/man/man1|' \
|
|
-i docs/man/CMakeLists.txt || die
|
|
}
|