summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@gentoo.org>2018-04-05 11:35:17 -0600
committerChristoph Junghans <junghans@gentoo.org>2018-04-05 11:36:37 -0600
commitbc256be5c45733b88b22caac4783f5cc5c73bd6c (patch)
tree4a3df59b117831fac4edfe9bf53a5d717388ed66 /sys-devel/byfl/byfl-1.6.ebuild
parentsys-kernel/gentoo-sources: Cleanup of kernel version 4.9.X (diff)
downloadgentoo-bc256be5c45733b88b22caac4783f5cc5c73bd6c.tar.gz
gentoo-bc256be5c45733b88b22caac4783f5cc5c73bd6c.tar.bz2
gentoo-bc256be5c45733b88b22caac4783f5cc5c73bd6c.zip
sys-devel/byfl: version bump
Closes: https://bugs.gentoo.org/652072 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-devel/byfl/byfl-1.6.ebuild')
-rw-r--r--sys-devel/byfl/byfl-1.6.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/sys-devel/byfl/byfl-1.6.ebuild b/sys-devel/byfl/byfl-1.6.ebuild
new file mode 100644
index 00000000000..1b1d36dca11
--- /dev/null
+++ b/sys-devel/byfl/byfl-1.6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 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="6.0.0"
+ LLVM_SLOT=6
+ EGIT_REPO_URI="https://github.com/lanl/Byfl.git"
+ inherit autotools git-r3
+ KEYWORDS=""
+else
+ LLVM_VERSION="5.0.1"
+ LLVM_SLOT=5
+ 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"
+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}:${LLVM_SLOT}
+ >=sys-devel/llvm-${LLVM_VERSION}:${LLVM_SLOT}
+ 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)
+}