summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-01-14 22:06:00 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-01-14 22:06:00 +0000
commitca3abea077d7f97d2b96ad911e2990d0cacdf1df (patch)
tree1a733c8ff7b216ca21660a440f5cbbf499dbd94a /sci-libs/coinor-smi
parentInitial import in main tree (diff)
downloadgentoo-2-ca3abea077d7f97d2b96ad911e2990d0cacdf1df.tar.gz
gentoo-2-ca3abea077d7f97d2b96ad911e2990d0cacdf1df.tar.bz2
gentoo-2-ca3abea077d7f97d2b96ad911e2990d0cacdf1df.zip
Initial import in main tree
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs/coinor-smi')
-rw-r--r--sci-libs/coinor-smi/ChangeLog15
-rw-r--r--sci-libs/coinor-smi/Manifest4
-rw-r--r--sci-libs/coinor-smi/coinor-smi-0.93.4.ebuild69
-rw-r--r--sci-libs/coinor-smi/metadata.xml18
4 files changed, 106 insertions, 0 deletions
diff --git a/sci-libs/coinor-smi/ChangeLog b/sci-libs/coinor-smi/ChangeLog
new file mode 100644
index 000000000000..69e9516cbb2c
--- /dev/null
+++ b/sci-libs/coinor-smi/ChangeLog
@@ -0,0 +1,15 @@
+# ChangeLog for sci-libs/coinor-smi
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-smi/ChangeLog,v 1.1 2014/01/14 22:06:00 bicatali Exp $
+
+*coinor-smi-0.93.4 (14 Jan 2014)
+
+ 14 Jan 2014; Sébastien Fabbro <bicatali@gentoo.org>
+ +coinor-smi-0.93.4.ebuild, +metadata.xml:
+ Initial import in main tree
+
+*coinor-smi-0.93.3 (07 Dec 2013)
+
+ 07 Dec 2013; Sébastien Fabbro <bicatali@gentoo.org> +coinor-smi-0.93.3.ebuild,
+ +metadata.xml:
+ sci-libs/coinor-smi: Initial import
diff --git a/sci-libs/coinor-smi/Manifest b/sci-libs/coinor-smi/Manifest
new file mode 100644
index 000000000000..49cc2b76bea9
--- /dev/null
+++ b/sci-libs/coinor-smi/Manifest
@@ -0,0 +1,4 @@
+DIST Smi-0.93.4.tgz 4907130 SHA256 e63ee0f6f6fd20cd7481d7c88fa60980fc1ce8334032a8f4baaad3a88e63004b SHA512 9439b7421475cf5d0c85f529305657e04d1ebb3eca28399b0df0352b52df315e9dceb3f1410ada0b7a6f9447b0e383116fb208d6447994ce1611f019fcace007 WHIRLPOOL a6f6814420111b2e6cf6ae6251aef44f327372bcbe4dff1f9159f95ec4967a77d7912c10d503f480da91143a94a552993a59b9931e893e6c32c21956f93786e9
+EBUILD coinor-smi-0.93.4.ebuild 1538 SHA256 caac007eed7b7d4350420818be84de20433dfec351b09154136246f2e2657c60 SHA512 9d903b1fd5ceea207f578e26cbca538fc71aa2afeec24bb32c4e54fcb34f2196f4736b68f4ed5ff6fca297280260f104a48a5abe33a1c3bbb218d4ef5c6d7801 WHIRLPOOL e91406851036e20b4c40b8dbdbae484f952620c25aa386fc2a57d50ac9ac9282d07084e4a4ddf597239ada8cbb57c6469e156300bdce232602af9de8ec08d45b
+MISC ChangeLog 455 SHA256 b950de89d65f706d5f678b4054e069f138b7022ed2d93973ca9f62209b041f8d SHA512 5136d5a56c75ea4f0ae64fa0b84003af332ac264b59b47fe1ba42ac1fc58c25981d48dd6998b94ec645bb8f06148745053ddc33e5e790b0edf7ca9fd982bd714 WHIRLPOOL 74865363e058c88154c95a31405b2bd1882c58c328a72aad72751b52438db13f49a200b3d8c827d9d0498784ce627644f0660c92c6a5bc8ab8d36bc9adde570d
+MISC metadata.xml 883 SHA256 8498c8c84af6134605fce69269c34d57ad3553636994e5bc70525b750095470e SHA512 9d350d21ddb39992f7eb0e715b3c14a248c1c73f33b1097ce6ed4e387fd0de66b35eb09484b4dc4c5454a49e3254dc88c41b50dc96fe60a27f39d5609d69624f WHIRLPOOL de542809e0b9d00450b25708883d8c9ef7fcb188014997d0a2c86c9602857efc38749493e5c8186ab717e97b72ac39add7e1d27d788af061320ae01901ef156a
diff --git a/sci-libs/coinor-smi/coinor-smi-0.93.4.ebuild b/sci-libs/coinor-smi/coinor-smi-0.93.4.ebuild
new file mode 100644
index 000000000000..3f91fea50c92
--- /dev/null
+++ b/sci-libs/coinor-smi/coinor-smi-0.93.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-smi/coinor-smi-0.93.4.ebuild,v 1.1 2014/01/14 22:06:00 bicatali Exp $
+
+EAPI=5
+
+AUTOTOOLS_IN_SOURCE_BUILD=yes
+inherit autotools-utils multilib
+
+MYPN=Smi
+
+DESCRIPTION="COIN-OR Stochastic modelling interface"
+HOMEPAGE="https://projects.coin-or.org/Smi/"
+SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
+
+LICENSE="CPL-1.0"
+SLOT="0/2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples static-libs test"
+
+RDEPEND="
+ sci-libs/coinor-cbc:=
+ sci-libs/coinor-cgl:=
+ sci-libs/coinor-clp:=
+ sci-libs/coinor-flopcpp:=
+ sci-libs/coinor-osi:=
+ sci-libs/coinor-utils:="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )
+ test? ( sci-libs/coinor-sample )"
+
+S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
+
+src_prepare() {
+ # as-needed fix
+ # hack to avoid eautoreconf (coinor has its own weird autotools
+ sed -i \
+ -e 's:\(libSmi_la_LIBADD.*=\).*:\1 @SMI_LIBS@:g' \
+ src/Makefile.in || die
+}
+
+src_configure() {
+ PKG_CONFIG_PATH+="${ED}"/usr/$(get_libdir)/pkgconfig \
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ if use doc; then
+ cd "${WORKDIR}/${MYPN}-${PV}/doxydoc" || die
+ doxygen doxygen.conf || die
+ fi
+}
+
+src_test() {
+ pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die
+ emake test
+ popd > /dev/null || die
+}
+
+src_install() {
+ use doc && HTML_DOC=("${WORKDIR}/${MYPN}-${PV}/doxydoc/html/")
+ autotools-utils_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r Examples/*
+ fi
+}
diff --git a/sci-libs/coinor-smi/metadata.xml b/sci-libs/coinor-smi/metadata.xml
new file mode 100644
index 000000000000..551066284b8a
--- /dev/null
+++ b/sci-libs/coinor-smi/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ The COIN-OR Stochastic Modeling Interface (SMI) is an interface for
+ problems in which uncertainty and optimization appear
+ together. There are many modeling and algorithmic approaches that
+ could belong here, like: recourse programming, chance constrained
+ programming, stochastic control and dynamic programming, robust
+ optimization, etc, etc. SMI is intended to be like OSI in the sense
+ that an SmiXX object is an implementation derived from a base class
+ that takes care of a number of commonly encountered programming
+ issues, like handling probability distributions, managing problem
+ generation, interacting with solvers to obtain solution information,
+ etc.
+</longdescription>
+</pkgmetadata>