public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/asl/
Date: Sat, 25 Jul 2015 23:38:09 +0000 (UTC)	[thread overview]
Message-ID: <1437867429.863e92cd5587dd30bf322a1a36be885f1a8da8f5.bircoph@gentoo> (raw)

commit:     863e92cd5587dd30bf322a1a36be885f1a8da8f5
Author:     Andrew Savchenko <bircoph <AT> gmail <DOT> com>
AuthorDate: Sat Jul 25 23:37:09 2015 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Jul 25 23:37:09 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=863e92cd

Fix issue #452

Add sci-libs/asl package.

 sci-libs/asl/ChangeLog        |  9 ++++++
 sci-libs/asl/asl-0.1.4.ebuild | 65 +++++++++++++++++++++++++++++++++++++++++++
 sci-libs/asl/metadata.xml     | 31 +++++++++++++++++++++
 3 files changed, 105 insertions(+)

diff --git a/sci-libs/asl/ChangeLog b/sci-libs/asl/ChangeLog
new file mode 100644
index 0000000..84477a0
--- /dev/null
+++ b/sci-libs/asl/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-libs/asl
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*asl-0.1.4 (25 Jul 2015)
+
+  25 Jul 2015; Andrew Savchenko <bircoph@gentoo.org> +asl-0.1.4.ebuild,
+  +metadata.xml:
+  Initial commit.

diff --git a/sci-libs/asl/asl-0.1.4.ebuild b/sci-libs/asl/asl-0.1.4.ebuild
new file mode 100644
index 0000000..15be510
--- /dev/null
+++ b/sci-libs/asl/asl-0.1.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+CMAKE_MIN_VERSION=3.0.2
+CMAKE_MAKEFILE_GENERATOR="${CMAKE_MAKEFILE_GENERATOR:-ninja}"
+
+inherit cmake-utils
+
+MY_PN=ASL
+
+DESCRIPTION="Advanced Simulation Library - multiphysics simulation software package"
+HOMEPAGE="http://asl.org.il/"
+SRC_URI="https://github.com/AvtechScientific/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples matio"
+
+RDEPEND="
+	>=dev-libs/boost-1.55:=
+	>=sci-libs/vtk-6.1
+	>=virtual/opencl-0-r2
+"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen[dot] )
+	matio? ( >=sci-libs/matio-1.5.2 )
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
+		-DCMAKE_SKIP_RPATH=yes
+		$(cmake-utils_use_with doc API_DOC)
+		$(cmake-utils_use_with examples)
+		$(cmake-utils_use_with matio)
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	# examples are not installed by cmake :/
+	if use examples; then
+		local f
+		cd "${CMAKE_USE_DIR}/examples" || die
+		for f in $(find -O3 -type f -name "*.cc" -printf "%P\n" || die); do
+			cp "${f}" "${BUILD_DIR}/examples/${f%%.cc}" || die
+		done
+		cp -a input_data "${BUILD_DIR}/examples" || die
+
+		cd "${BUILD_DIR}/examples" || die
+		chmod a-x input_data/multicomponent_flow.pvsm || die
+		find -O3 -type f -name cmake_install.cmake -delete || die
+		find -O3 -type d -name CMakeFiles -exec rm -rf '{}' \+ || die
+
+		mkdir -p "${ED}/usr/share/${PN}/examples" || die
+		cp -a . "${ED}/usr/share/${PN}/examples" || die
+	fi
+}

diff --git a/sci-libs/asl/metadata.xml b/sci-libs/asl/metadata.xml
new file mode 100644
index 0000000..ab3f78d
--- /dev/null
+++ b/sci-libs/asl/metadata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-physics</herd>
+<maintainer>
+  <email>bircoph@gentoo.org</email>
+  <name>Andrew Savchenko</name>
+</maintainer>
+<longdescription lang="en">
+  Advanced Simulation Library (ASL) is a free and open source
+  multiphysics simulation software package. Its computational
+  engine is based, among others, on the Lattice Boltzmann Methods
+  and is written in OpenCL which enable extraordinarily efficient
+  deployment on a variety of massively parallel architectures,
+  ranging from inexpensive FPGAs, DSPs and GPUs up to heterogeneous
+  clusters and supercomputers. The engine is hidden entirely behind
+  C++ classes, so that no OpenCL knowledge is required from
+  application programmers. ASL can be utilized to model various
+  coupled physical and chemical phenomena and employed in a
+  multitude of fields: computational fluid dynamics, virtual
+  sensing, industrial process data validation and reconciliation,
+  image-guided surgery, computer-aided engineering,
+  high-performance scientific computing, etc.
+</longdescription>
+<use>
+  <flag name="matio">Matlab support with <pkg>sci-libs/matio</pkg></flag>
+</use>
+<upstream>
+  <remote-id type="github">AvtechScientific/ASL</remote-id>
+</upstream>
+</pkgmetadata>


             reply	other threads:[~2015-07-25 23:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-25 23:38 Andrew Savchenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-08-10 16:50 [gentoo-commits] proj/sci:master commit in: sci-libs/asl/ Andrew Savchenko
2015-08-11 11:21 Andrew Savchenko
2015-08-11 11:21 Andrew Savchenko
2016-11-12  9:16 Justin Lecher
2021-01-29 20:59 Andrew Ammerlaan
2024-01-22 12:00 Horea Christian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1437867429.863e92cd5587dd30bf322a1a36be885f1a8da8f5.bircoph@gentoo \
    --to=bircoph@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox