summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-01-14 21:56:48 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-01-14 21:56:48 +0000
commitff135992456c7e95bd2d2ec1da6476774ed53a92 (patch)
treeb1d41f737d70ac52b65a54a860cabbd237005a68 /sci-libs
parentInitial import in main tree (diff)
downloadgentoo-2-ff135992456c7e95bd2d2ec1da6476774ed53a92.tar.gz
gentoo-2-ff135992456c7e95bd2d2ec1da6476774ed53a92.tar.bz2
gentoo-2-ff135992456c7e95bd2d2ec1da6476774ed53a92.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')
-rw-r--r--sci-libs/coinor-dip/ChangeLog9
-rw-r--r--sci-libs/coinor-dip/Manifest4
-rw-r--r--sci-libs/coinor-dip/coinor-dip-0.83.2.ebuild62
-rw-r--r--sci-libs/coinor-dip/metadata.xml14
4 files changed, 89 insertions, 0 deletions
diff --git a/sci-libs/coinor-dip/ChangeLog b/sci-libs/coinor-dip/ChangeLog
new file mode 100644
index 000000000000..52405efe925c
--- /dev/null
+++ b/sci-libs/coinor-dip/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-libs/coinor-dip
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-dip/ChangeLog,v 1.1 2014/01/14 21:56:48 bicatali Exp $
+
+*coinor-dip-0.83.2 (20 Jul 2012)
+
+ 20 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> +coinor-dip-0.83.2.ebuild,
+ +metadata.xml:
+ sci-libs/coinor-dip: Initial import
diff --git a/sci-libs/coinor-dip/Manifest b/sci-libs/coinor-dip/Manifest
new file mode 100644
index 000000000000..73c068613739
--- /dev/null
+++ b/sci-libs/coinor-dip/Manifest
@@ -0,0 +1,4 @@
+DIST Dip-0.83.2.tgz 9249540 SHA256 74814af7b2ce804e005ccaf9c7cb04604953c0409d695138d64ddfbaecc48356 SHA512 569e9c0c9ba7069226265555b146accc556395c5a6f1975341e1926403242ab9f0d4dbf3445eb5bacba470e327be8dfc0d474ffda8f38af1a11e75e79f358bbb WHIRLPOOL f32c3018cfe8ae05f24bf7ca2986232157a62bab6c0aae0832e1077867b10200fa9cb734ef183af4ba4bdcb8dbd4686eee1c4568e10b2558dada72dcf3017c3c
+EBUILD coinor-dip-0.83.2.ebuild 1393 SHA256 3a86e60b9965843748827e8de28922cef660339bb7c8dd53f74ce3a36f87b36f SHA512 13d6fabdb9a9891c7ce1d8ad5d589b38d6a58b96b1d60566df66ad0eb5c7447fa3fea42a3b876476b578142f8c3a0ffa890484f3102914dd58c017f7b0503534 WHIRLPOOL 9d8337bc587b0a65080939ef5e40b48d2d0cf5e75db8150fbf9f784341cecd5937cd85457e0ec44ac50e6a8d1b17ba0bbcd93e812040376b51cd08362b262255
+MISC ChangeLog 291 SHA256 3d729e76fde949376eb1b23035a50958282158355964051db3a866a58bfd7986 SHA512 f7f6ac1ee832b557eb25211ee3fa7fe1d2926e15830d27fc0c98088cfc48d35d55d4b37887ab0c47f08ca5694189f11ac1dc84bd1fa89425ff38d7a78295570e WHIRLPOOL b6b98876af5a91d5c6921cf01e9a5af070ce2bcd049127c079bfedbc01a582b19a16f18c4180f4d9cdc8d6f4dd2c939ba097c0abd4a28a2fd6b7a1ea0e4122db
+MISC metadata.xml 623 SHA256 b4ba954bfccc467b9ab14feb95f68bfadeadfb143429e312e2a96d3d6adae202 SHA512 501b86a93ea83db04969c94edd56b811b593a03bf2fa94d1f3e274587e4c369f149c32147b396b4c3491a6eb8a57cdc373ae4c552e558a97c5e2bd056f353a9d WHIRLPOOL 9a0d11fcffbe58519c2141dcb2ea2719d192987e6cff8ae475870daa69175a7b77897134118cfafe19c3c0bc9739becc824c2848f24d984c8c19335d6b5f6522
diff --git a/sci-libs/coinor-dip/coinor-dip-0.83.2.ebuild b/sci-libs/coinor-dip/coinor-dip-0.83.2.ebuild
new file mode 100644
index 000000000000..4935346d321f
--- /dev/null
+++ b/sci-libs/coinor-dip/coinor-dip-0.83.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-dip/coinor-dip-0.83.2.ebuild,v 1.1 2014/01/14 21:56:48 bicatali Exp $
+
+EAPI=5
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+inherit autotools-utils multilib
+
+MYPN=Dip
+
+DESCRIPTION="COIN-OR Decomposition in Integer Programming"
+HOMEPAGE="https://projects.coin-or.org/Dip/"
+SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
+
+LICENSE="EPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples static-libs test"
+
+RDEPEND="
+ sci-libs/coinor-alps:=
+ sci-libs/coinor-cbc:=
+ sci-libs/coinor-cgl:=
+ sci-libs/coinor-clp:="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ 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:\(libDecomp_la_LIBADD.*=\).*:\1 @DIPLIB_LIBS@:g' \
+ src/Makefile.in || die
+ # bug for later versions of subversions
+ sed -i \
+ -e 's/xexported/xexported -a "x$svn_rev_tmp" != "xUnversioned directory"/' \
+ configure
+}
+
+src_configure() {
+ local myeconfargs=()
+ PKG_CONFIG_PATH+="${ED}"/usr/$(get_libdir)/pkgconfig \
+ autotools-utils_src_configure
+}
+
+src_test() {
+ pushd "${BUILD_DIR}" > /dev/null || die
+ emake test
+ popd > /dev/null || die
+}
+
+src_install() {
+ autotools-utils_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/sci-libs/coinor-dip/metadata.xml b/sci-libs/coinor-dip/metadata.xml
new file mode 100644
index 000000000000..bc503d8abeea
--- /dev/null
+++ b/sci-libs/coinor-dip/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ DIP (Decomposition for Integer Programming) is an open-source
+ extensible software framework for implementing decomposition-based
+ bounding algorithms for use in solving large-scale discrete
+ optimization problems. The framework provides a simple API for
+ experimenting with various decomposition-based algorithms, such as
+ Dantzig-Wolfe decomposition, Lagrangian relaxation, and various
+ cutting plane methods.
+</longdescription>
+</pkgmetadata>