summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-01-14 19:01:58 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-01-14 19:01:58 +0000
commit946a6955d47172e5c54a09267c4c47c2ebb49258 (patch)
tree2d9197999b60e6d0298cdd99dfd064d5aeed2188 /sci-libs/coinor-cbc
parentInitial import in main tree (diff)
downloadhistorical-946a6955d47172e5c54a09267c4c47c2ebb49258.tar.gz
historical-946a6955d47172e5c54a09267c4c47c2ebb49258.tar.bz2
historical-946a6955d47172e5c54a09267c4c47c2ebb49258.zip
Initial import in main tree
Package-Manager: portage-2.2.8-prefix/cvs/Linux x86_64 Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-libs/coinor-cbc')
-rw-r--r--sci-libs/coinor-cbc/Manifest14
-rw-r--r--sci-libs/coinor-cbc/coinor-cbc-2.8.8.ebuild83
-rw-r--r--sci-libs/coinor-cbc/metadata.xml11
3 files changed, 106 insertions, 2 deletions
diff --git a/sci-libs/coinor-cbc/Manifest b/sci-libs/coinor-cbc/Manifest
index f3250e1ac538..de4c49c437af 100644
--- a/sci-libs/coinor-cbc/Manifest
+++ b/sci-libs/coinor-cbc/Manifest
@@ -1,4 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST Cbc-2.8.8.tgz 8226460 SHA256 5f73db37c0a048171a24725c03235314ee7d4d446f9daff8720ded2b94e95b6a SHA512 d6dd391b5ea82b6d4bce42450955c30aecf862bc5d341e4c6dfb0bf8d98ec162519a0bdb0549a4d2417466c99efd2b99041a8554acd58868b8e4c8611b419b20 WHIRLPOOL 84ff4d80769b2cf913bde66766a9384073a2ed9f26c4003e069c65374a718a968a886f7848747813d0e718a483b7dfd2dd9a6823dfe16a8db1f9baa4902f0f7e
-EBUILD coinor-cbc-2.8.8.ebuild 2282 SHA256 23c05b3092064df3ca06545726a131d2cf9a26b64718e0b038d9a19b2593780f SHA512 608ec0e550995973c75f7ca4a910cce46157c9b9a754e02db5778205010c77b059c681650af69b5f4bcbfb241360cab8da5280aed2dfc6f53d525b35b03539c7 WHIRLPOOL 26c5592efd5c80b05103c9c677a7970fa9d83cf25cbc790e2076a81e1459dc2a07c877d2fb6ce7e9fe353c96142ae8b21e68fdd86577d818b28f65160d2e5585
-MISC ChangeLog 1331 SHA256 c3fb4b7c3f60d841c199c15b898f990ca9afcea8b19e8bbd06220f0cb4e71082 SHA512 61f91b16ddc77f08f3b2a1461b62f625f47be67b8178bc5dd469160eb83ad0c5282c5f339d406fbdf4249842a727cea0d9997c8902e2f75128b9c6265f88628b WHIRLPOOL f17024593664dad3b0ea02cb3a311a241ee181f7747d9c68615e289f1c18f71d05d0dcba92c494a49169a31d83012b81ed31ca01c3c27fd23020662d59a67e69
+EBUILD coinor-cbc-2.8.8.ebuild 2389 SHA256 20530b6fb6740a8a51a507df9d1bdbd9c43477167f8f12a45a96fa6291139d62 SHA512 f3a21557dba860b3a65486a70dcfaf6645b5287e4f304a0288fe23507539cb59e53b47f80f87c2208e6f395a5fd7568716197daee141b84599ebe76b08835639 WHIRLPOOL 4bc702d817797fb5eaf7be55f5fb0a5c947f2492b3491c6c475ecd3026f0aa81373ea77066fecc5eea4fadaf5757dce915b9bfc9d67d8f1c820a3c856816fbd8
+MISC ChangeLog 1424 SHA256 d82ac79cf2f04a8fd94e5aec0ab8bfe33dccc007fc3f5ca44a55c26b65007663 SHA512 85415745d3df9feed55dbabe8385a4e6d855c98305a4fd459a8f5915cb9634df09b6b9f727e5ce7509577980e54feccfacc54720aabdc8f2a53de80aa084c50c WHIRLPOOL b9e50f778e6f77b49f00aa26ff875dc3e49af18993c1ca78a665b1baad1e4debbfeea460c719031680b07cc61217624bd4326827f98dc4465eaf25c56cf8c875
MISC metadata.xml 441 SHA256 cc5f99454ae38b85a0dca11b7182fcd8670b1a8b76296f50421a7e3e2ed0daeb SHA512 b8ba3cbbd95a08268af82c219a48a2c67e60beef14dbfaff767194da584dfcd0863b5f8328c6e8f0bdfd83cb1d1c5353ab59d956ea43e07c0e8491b0774d3829 WHIRLPOOL 7b73cc2d5339adf5c83cea8c1ac9e2b77df03dd71dea7f9359fb41cb35963613ae5b19cb309cc9ae0e9109487b6e5784ed02209ac9857bd4ed9727874bb3858c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iEYEAREIAAYFAlLViMEACgkQ1ycZbhPLE2BPtgCgnrJHzSso+nEeTwWc03Q6a1e2
+52AAnR5OYKbQTv20NDyThT86Oj6WcbyO
+=Amse
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/coinor-cbc/coinor-cbc-2.8.8.ebuild b/sci-libs/coinor-cbc/coinor-cbc-2.8.8.ebuild
new file mode 100644
index 000000000000..2eb035ace1eb
--- /dev/null
+++ b/sci-libs/coinor-cbc/coinor-cbc-2.8.8.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cbc/coinor-cbc-2.8.8.ebuild,v 1.1 2014/01/14 18:58:08 bicatali Exp $
+
+EAPI=5
+
+inherit autotools-utils multilib flag-o-matic
+
+MYPN=Cbc
+
+DESCRIPTION="COIN-OR Branch-and-Cut Mixed Integer Programming Solver"
+HOMEPAGE="https://projects.coin-or.org/Cbc/"
+SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
+
+LICENSE="EPL-1.0"
+SLOT="0/3"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples static-libs test"
+
+RDEPEND="
+ sci-libs/coinor-clp:=
+ sci-libs/coinor-cgl:=
+ sci-libs/coinor-dylp:=
+ sci-libs/coinor-osi:=
+ sci-libs/coinor-utils:=
+ sci-libs/coinor-vol:="
+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:\(libOsiCbc_la_LIBADD.*=\).*:\1 $(top_builddir)/src/libCbc.la $(top_builddir)/src/libCbcSolver.la:g' \
+ src/OsiCbc/Makefile.in || die
+ sed -i \
+ -e 's:\(libCbc_la_LIBADD.*=.*\)$:\1 @CBCLIB_LIBS@:' \
+ -e 's:\(libCbcSolver_la_LIBADD.*=.*\)$:\1 libCbc.la:' \
+ -e 's:\(libCbcSolver_la_DEPENDENCIES.*=\).*:\1 libCbc.la:' \
+ 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=(
+ $(use_with doc dot)
+ )
+ PKG_CONFIG_PATH+="${ED}"/usr/$(get_libdir)/pkgconfig \
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ # hack for parallel build, to overcome not patching Makefile.am above
+ autotools-utils_src_compile -C src libCbc.la
+ autotools-utils_src_compile -C src libCbcSolver.la
+ autotools-utils_src_compile all $(use doc && echo doxydoc)
+}
+
+src_test() {
+ pushd "${BUILD_DIR}" > /dev/null || die
+ emake test
+ popd > /dev/null || die
+}
+
+src_install() {
+ use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/")
+ # hack for parallel install, to overcome not patching Makefile.am above
+ autotools-utils_src_install -C src install-am
+ autotools-utils_src_install
+ # already installed
+ rm "${ED}"/usr/share/coin/doc/${MYPN}/{README,AUTHORS,LICENSE} || die
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/sci-libs/coinor-cbc/metadata.xml b/sci-libs/coinor-cbc/metadata.xml
new file mode 100644
index 000000000000..340871a6b828
--- /dev/null
+++ b/sci-libs/coinor-cbc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription lang="en">
+ COIN-OR Branch-and-Cut is a Mixed integer linear programming
+ solver. It uses many of the COIN-OR components and is designed to be
+ used with COIN-OR CLP or COIN-OR Dylp. It is available as a library and as a
+ standalone solver.
+</longdescription>
+</pkgmetadata>