initial import, ebuild by me
authorAlexis Ballier <aballier@gentoo.org>
Tue, 25 Nov 2014 15:28:50 +0000 (15:28 +0000)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 25 Nov 2014 15:28:50 +0000 (15:28 +0000)
Signed-off-by: aballier@gentoo.org
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x160F534A

sci-libs/orocos-bfl/ChangeLog [new file with mode: 0644]
sci-libs/orocos-bfl/Manifest [new file with mode: 0644]
sci-libs/orocos-bfl/metadata.xml [new file with mode: 0644]
sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild [new file with mode: 0644]

diff --git a/sci-libs/orocos-bfl/ChangeLog b/sci-libs/orocos-bfl/ChangeLog
new file mode 100644 (file)
index 0000000..5df6987
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/orocos-bfl
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/orocos-bfl/ChangeLog,v 1.1 2014/11/25 15:28:45 aballier Exp $
+
+*orocos-bfl-0.8.0 (25 Nov 2014)
+
+  25 Nov 2014; Alexis Ballier <aballier@gentoo.org> +orocos-bfl-0.8.0.ebuild,
+  +metadata.xml:
+  initial import, ebuild by me
+
diff --git a/sci-libs/orocos-bfl/Manifest b/sci-libs/orocos-bfl/Manifest
new file mode 100644 (file)
index 0000000..a49bfaf
--- /dev/null
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST orocos-bfl-0.8.0-src.tar.bz2 212899 SHA256 e5e14f8abbc4c38ca51f5ff97b36f66c69da3a706ee6276bcb151ada4c71195c SHA512 045bbc415feec66206774a8bdea3843a7edf233d221bd639b1dcc01906386ff55f114a9685e1008b741ae895e6aef33641a1eab67cb106d23a085d77f1a937d5 WHIRLPOOL ba5ff1ad0ff25cbc45367ed3d0bc1f356ef827f1b0ef6fa3e4c26a0a0da7ef8efc44bb6b0b1a33cbc068f28d079d0f9e096b14efd5df0d54d5dafe80e95c0fec
+EBUILD orocos-bfl-0.8.0.ebuild 1370 SHA256 e2254db9561bf1d099d703c4445c70bdf4141e0b28f949e2445d3ce36b121cee SHA512 9fbad6a8ec6c726411c83bbbe3e01ddf0f5457c5ec3f22df21a2f094be478776b618a93e5cedf3a0ba9ad81b94e6ed3f714e6be598bbc09caf6cd872ee1e31d7 WHIRLPOOL 45a3a6d76cd1dfd64d66eb3f0a95dade339af755e886dbf9339bcf2e1538f2ff9ebcf14a3c976b89d02b9c17cda45dab189ee365d7c637bda5cf495fe788a918
+MISC ChangeLog 373 SHA256 c7aeb64466d4129d6ce7d5ed6d7d8125749e00dd5f21155bae16fd4e9417df2e SHA512 1ab34fd0acc840a989ece5901e7842a58a391fd15de28d5d037f9b2985ca5256f30ab01dbf86662dc3728cfb3d8428387a9f9f3d74e2addd8eb9ef345315c207 WHIRLPOOL 3e1a101de6a7c344d07235906766ba39f5e4cbf5c1bc2b0b6f781f3ffb8e7df68792c4ed336e04765e5513ad08196469b407d891410ac3fcf76175202cbaeb35
+MISC metadata.xml 589 SHA256 cadb3f13234c0620a1517ae9b07d81b85ecad4d3c71533d12ef6a35e7b4eb311 SHA512 74502912db5eda280d9f8be4fc6e2ea5d648c6e73ac6f309de644e972b43acd8f3abf3733e3ec779ca8890cd6dabeb8252d8b65b8fcbca59e922feff4e0f9261 WHIRLPOOL 8a939da4ca92d40316e018ed9f7059d249b0f8186ec4663da3224ef43a02469a87fccbcbe7647306076c63f407327a14a799a07d8a51f93aa1191c3147e1dfdf
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEAREIAAYFAlR0oC8ACgkQvFcC4BYPU0rzyQCgin+9fjiZbI7SSYcxL+ndTXOh
+9DwAn0Itr15Nt+c47te3N1ZOjLtVz4/s
+=GrgC
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/orocos-bfl/metadata.xml b/sci-libs/orocos-bfl/metadata.xml
new file mode 100644 (file)
index 0000000..b187a8c
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>aballier@gentoo.org</email>
+<name>Alexis Ballier</name>
+</maintainer>
+<longdescription lang="en">
+       The Bayesian Filtering Library (BFL) provides an application independent framework
+       for inference in Dynamic Bayesian Networks, i.e., recursive information processing
+       and estimation algorithms based on Bayes' rule, such as (Extended) Kalman Filters,
+       Particle Filters (or Sequential Monte Carlo methods), etc. 
+</longdescription>
+</pkgmetadata>
diff --git a/sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild b/sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild
new file mode 100644 (file)
index 0000000..634c574
--- /dev/null
@@ -0,0 +1,63 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/orocos-bfl/orocos-bfl-0.8.0.ebuild,v 1.1 2014/11/25 15:28:45 aballier Exp $
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Bayesian Filtering Library"
+HOMEPAGE="http://orocos.org/bfl"
+SRC_URI="http://people.mech.kuleuven.be/~tdelaet/bfl_tar/${P}-src.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples static-libs test"
+
+RDEPEND="dev-libs/boost:="
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       doc? (
+               app-doc/doxygen
+               virtual/latex-base
+       )
+       test? ( dev-util/cppunit )"
+
+src_prepare() {
+       sed -e 's:/lib:/${CMAKE_INSTALL_LIBDIR}:' \
+               -i "${S}/"{,src/,src/bindings/rtt/}CMakeLists.txt || die
+}
+
+src_configure() {
+       local mycmakeargs=(
+               "-DLIBRARY_TYPE=$(usex static-libs both shared)"
+               "-DBUILD_EXAMPLES=$(usex examples ON OFF)"
+               "-DBUILD_TESTS=$(usex test ON OFF)"
+       )
+       cmake-utils_src_configure
+}
+
+src_compile() {
+       cmake-utils_src_compile
+       if use doc ; then
+               cd "${BUILD_DIR}"
+               doxygen || die
+               cd "${S}/docs" || die
+               pdflatex getting_started_guide || die
+               pdflatex getting_started_guide || die
+       fi
+}
+
+src_test() {
+       cd "${BUILD_DIR}"
+       emake check
+}
+
+src_install() {
+       cmake-utils_src_install
+       if use doc ; then
+               dohtml -r "${BUILD_DIR}/doc/html/"
+               dodoc "${S}/docs/getting_started_guide.pdf"
+       fi
+}