You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
737 B
29 lines
737 B
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/gccxml-0.9.0_pre20120309.ebuild,v 1.6 2012/09/02 00:55:45 xmw Exp $
|
|
|
|
EAPI=4
|
|
|
|
inherit cmake-utils
|
|
|
|
DESCRIPTION="XML output extension to GCC"
|
|
HOMEPAGE="http://www.gccxml.org/"
|
|
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ~mips ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
|
IUSE=""
|
|
|
|
src_prepare() {
|
|
# patch below taken from Debian
|
|
sed -i \
|
|
-e 's/xatexit.c//' \
|
|
"${S}/GCC/libiberty/CMakeLists.txt" || die "sed failed"
|
|
}
|
|
|
|
src_configure() {
|
|
local mycmakeargs=( -DGCCXML_DOC_DIR:STRING=share/doc/${PF} )
|
|
cmake-utils_src_configure
|
|
}
|