2014-01-16 10:26:43 +04:00
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
2013-11-06 17:44:04 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2014-02-12 21:45:36 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-devel/byfl/byfl-9999.ebuild,v 1.5 2014/02/11 15:37:26 ottxor Exp $
|
2013-11-06 17:44:04 +04:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
2014-02-12 21:45:36 +04:00
|
|
|
inherit autotools-utils multilib
|
2013-11-06 17:44:04 +04:00
|
|
|
|
|
|
|
if [ "${PV}" = "9999" ]; then
|
|
|
|
EGIT_REPO_URI="git://github.com/losalamos/${PN^b}.git http://github.com/losalamos/${PN}.git"
|
|
|
|
inherit git-2
|
|
|
|
KEYWORDS=""
|
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/losalamos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="Compiler-based Application Analysis"
|
|
|
|
HOMEPAGE="https://github.com/losalamos/Byfl"
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
LICENSE="BSD"
|
|
|
|
IUSE=""
|
|
|
|
|
2014-02-12 21:45:36 +04:00
|
|
|
RDEPEND=">=sys-devel/dragonegg-9999
|
|
|
|
>=sys-devel/llvm-9999
|
|
|
|
>=sys-devel/clang-9999"
|
2013-11-06 17:44:04 +04:00
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
ln -s autoconf/configure.ac || die
|
|
|
|
eaclocal -I autoconf/m4
|
|
|
|
eautoconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local myeconfargs=(
|
|
|
|
--enable-cxx11
|
|
|
|
)
|
2014-01-16 10:26:43 +04:00
|
|
|
autotools-utils_src_configure DRAGONEGG=/usr/$(get_libdir)/dragonegg.so
|
2013-11-12 23:57:15 +04:00
|
|
|
MAKEOPTS+=" VERBOSE=1 LOPT=$(type -p opt)"
|
2013-11-06 17:44:04 +04:00
|
|
|
}
|