sys-devel/byfl: version bump
authorChristoph Junghans <ottxor@gentoo.org>
Thu, 20 Aug 2015 15:04:07 +0000 (09:04 -0600)
committerChristoph Junghans <ottxor@gentoo.org>
Thu, 20 Aug 2015 15:07:41 +0000 (09:07 -0600)
Package-Manager: portage-2.2.20.1

sys-devel/byfl/Manifest
sys-devel/byfl/byfl-1.3.ebuild [new file with mode: 0644]

index 08f9c2538cd440fc47f6324e0b20aede0f33ff96..70ecceb234f6980080035766b2b9e316b5c4b673 100644 (file)
@@ -1 +1,2 @@
 DIST byfl-1.2-llvm-3.5.1.tar.gz 509555 SHA256 ab3325dcc71a6bbe4b0f7cdc75a8522cce29cf60e73e11b9791360a89c684b39 SHA512 a0f9a0656f70b172f1304de90312e5fb1fe998c9315463b86db35a2ccdbb45ded75a8776160a35223a24d0fe89a253740b1acde58ba2f1b77b9f27c71d5150fb WHIRLPOOL 6be2f6812fb33f72fc1c7a4664aadbc17f4f1872052e7a01269ab4921a744afdc5716a12cd2bd12410722397ccf00bc5994627f14932f442a5e4ea2aa806c6d3
+DIST byfl-1.3-llvm-3.6.2.tar.gz 529494 SHA256 07f6973eeea94a988c64157e312aaaa372a3aa5b64895c85d050d23eb306d321 SHA512 548439726ccac6472075b6bae5c145e4d796725c034fdf517a94683a22806e2ca90bda4e69dcbba03b665c2ff13af0f5e49a247f3280205d147514019184cd94 WHIRLPOOL bc89b6bd1f727fd9566e76119e0e5b3c932f94a5bf6b6752aa1d2ce4034ce94e9a3983d6702566ff188888e677c1d1442cf1f353abf8eebc77126e1afd6d177d
diff --git a/sys-devel/byfl/byfl-1.3.ebuild b/sys-devel/byfl/byfl-1.3.ebuild
new file mode 100644 (file)
index 0000000..7fc2836
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools-utils flag-o-matic
+
+if [ "${PV}" = "9999" ]; then
+       LLVM_VERSION="3.6.2"
+       EGIT_REPO_URI="git://github.com/losalamos/${PN^b}.git http://github.com/losalamos/${PN}.git"
+       inherit git-2
+       KEYWORDS=""
+       AUTOTOOLS_AUTORECONF=1
+else
+       LLVM_VERSION="3.6.2"
+       MY_P="${P}-llvm-${LLVM_VERSION}"
+       SRC_URI="https://github.com/losalamos/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/losalamos/Byfl"
+
+SLOT="0"
+LICENSE="BSD"
+IUSE="dragonegg hdf5 static-libs sqlite"
+
+RDEPEND="dragonegg? ( >=sys-devel/dragonegg-${LLVM_VERSION} )
+       >=sys-devel/clang-${LLVM_VERSION}
+       >=sys-devel/llvm-${LLVM_VERSION}
+       sys-devel/binutils:0
+       dev-lang/perl:=
+       dev-perl/Switch
+       hdf5? ( sci-libs/hdf5[cxx] )
+       sqlite? ( dev-db/sqlite:3 )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       append-cxxflags -std=c++11
+       use dragonegg || export ax_cv_file_dragonegg_so=no
+       use sqlite || export ac_cv_lib_sqlite3_sqlite3_errstr=no
+       autotools-utils_src_configure H5CXX=$(usex hdf5 h5c++ no)
+}