diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-devel/byfl/byfl-1.4-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-devel/byfl/byfl-1.4-r1.ebuild')
-rw-r--r-- | sys-devel/byfl/byfl-1.4-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sys-devel/byfl/byfl-1.4-r1.ebuild b/sys-devel/byfl/byfl-1.4-r1.ebuild new file mode 100644 index 000000000000..5ee59bf9b956 --- /dev/null +++ b/sys-devel/byfl/byfl-1.4-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic + +if [ "${PV}" = "9999" ]; then + LLVM_VERSION="3.8.0" + EGIT_REPO_URI="https://github.com/lanl/Byfl.git" + inherit autotools git-r3 + KEYWORDS="" +else + LLVM_VERSION="3.7.0" + MY_P="${P}-llvm-${LLVM_VERSION}" + SRC_URI="https://github.com/lanl/Byfl/releases/download/v${MY_P#${PN}-}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~amd64-linux" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="Compiler-based Application Analysis" +HOMEPAGE="https://github.com/lanl/Byfl" + +SLOT="0" +LICENSE="BSD" +IUSE="hdf5 static-libs sqlite" + +RDEPEND=" + >=sys-devel/clang-${LLVM_VERSION}:0 + >=sys-devel/llvm-${LLVM_VERSION}:0 + <sys-devel/llvm-3.8:0 + sys-devel/binutils:* + dev-lang/perl:= + dev-perl/Switch + hdf5? ( sci-libs/hdf5[cxx] ) + sqlite? ( dev-db/sqlite:3 )" +DEPEND="${RDEPEND}" + +src_prepare() { + default + [[ ${PV} = 9999 ]] && eautoreconf +} + +src_configure() { + append-cxxflags -std=c++11 + use sqlite || export ac_cv_lib_sqlite3_sqlite3_errstr=no + econf H5CXX=$(usex hdf5 h5c++ no) +} |