diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-14 17:58:51 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-14 17:58:51 +0000 |
commit | 388a89854ea71efb7189d5521035110fe7463869 (patch) | |
tree | 1a37805f26c741fda885590ed4dc2998e47a1ee0 /sci-libs/coinor-osi | |
parent | Version bump, drop oldest unstable (diff) | |
download | gentoo-2-388a89854ea71efb7189d5521035110fe7463869.tar.gz gentoo-2-388a89854ea71efb7189d5521035110fe7463869.tar.bz2 gentoo-2-388a89854ea71efb7189d5521035110fe7463869.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-osi')
-rw-r--r-- | sci-libs/coinor-osi/ChangeLog | 39 | ||||
-rw-r--r-- | sci-libs/coinor-osi/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/coinor-osi/coinor-osi-0.106.5.ebuild | 76 | ||||
-rw-r--r-- | sci-libs/coinor-osi/metadata.xml | 15 |
4 files changed, 134 insertions, 0 deletions
diff --git a/sci-libs/coinor-osi/ChangeLog b/sci-libs/coinor-osi/ChangeLog new file mode 100644 index 000000000000..8886bf695c32 --- /dev/null +++ b/sci-libs/coinor-osi/ChangeLog @@ -0,0 +1,39 @@ +# ChangeLog for sci-libs/coinor-osi +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-osi/ChangeLog,v 1.1 2014/01/14 17:58:51 bicatali Exp $ + +*coinor-osi-0.106.5 (14 Jan 2014) + + 14 Jan 2014; Sébastien Fabbro <bicatali@gentoo.org> + +coinor-osi-0.106.5.ebuild, +metadata.xml: + Initial import in main tree + +*coinor-osi-0.106.4 (07 Dec 2013) + + 07 Dec 2013; Sébastien Fabbro <bicatali@gentoo.org> + +coinor-osi-0.106.4.ebuild, -coinor-osi-0.106.1.ebuild: + sci-libs/coinor-osi: Version bump + +*coinor-osi-0.106.1 (03 Jul 2013) + + 03 Jul 2013; Sébastien Fabbro <bicatali@gentoo.org> + +coinor-osi-0.106.1.ebuild, -coinor-osi-0.106.0.ebuild: + sci-libs/coinor-osi: Version bump + +*coinor-osi-0.106.0 (26 May 2013) + + 26 May 2013; Sébastien Fabbro <bicatali@gentoo.org> + +coinor-osi-0.106.0.ebuild, -coinor-osi-0.105.4.ebuild: + sci-libs/coinor-osi: Version bump + +*coinor-osi-0.105.4 (29 Jan 2013) + + 29 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org> + +coinor-osi-0.105.4.ebuild, -coinor-osi-0.105.3.ebuild: + sci-libs/coinor-osi: Version bump + +*coinor-osi-0.105.3 (16 Jul 2012) + + 16 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> + +coinor-osi-0.105.3.ebuild, +metadata.xml: + sci-libs/coinor-osi: Initial import diff --git a/sci-libs/coinor-osi/Manifest b/sci-libs/coinor-osi/Manifest new file mode 100644 index 000000000000..bbbcf6e117fd --- /dev/null +++ b/sci-libs/coinor-osi/Manifest @@ -0,0 +1,4 @@ +DIST Osi-0.106.5.tgz 7490303 SHA256 5d35eb509353e755388b3646b2fccc27b45b76a6cd6939d21fe9ffb7075e6b7e SHA512 7ae6208cb9c209be42044ecf4147dd3610c70dc8714945ecef053ec969355e7ff599764fce502ef193e42095a38937af8ef66155d576e19e7ad4ba35849b1817 WHIRLPOOL bf551aa8eb9dbbf664b02e95f388f6dd0183a7136d81fac81cc664f36106a748ce6271bb2057d8847359cfa337114e85d083751ee7f884c017922d3be5afc295 +EBUILD coinor-osi-0.106.5.ebuild 1740 SHA256 beea2287e40186a5a998226a238208364762231d8549973d056947db6ac1d698 SHA512 2149a71a0866e59b12bdd5f53f669e130ee92a1f11d6e715c4533223b6379932fd200fcfff4d1c1313ff0581e5563018fa4a49b7106598d7aa5cc928670cf397 WHIRLPOOL 2238258a67da4b449efe90eb4690b6d945ba544c8921503950ff13d58579446f59ebd3f780c1783f18f732702c995a15ce18845f3149a689c4321476d39dc067 +MISC ChangeLog 1199 SHA256 860388bcd8ba573c8e309614d57f06d09b44918baed91c4f3661d92ea1186c8f SHA512 9d11c464d09df5ac7c17a81797994270eb1200d4c9efbe2075e725e16baf21bdbc79d315838ca8c71bb51cd6f39fbc3b74f94efba40b1ac72ff265f7f0888598 WHIRLPOOL ba29484f7fc9a6c4e430374cd03a3ac52d75cf0345c6d60590c03372dd7264b9135d86b7472e7bd6fd0a599feb9498372dbd4418b6b90344ff0f367760ad9303 +MISC metadata.xml 569 SHA256 73346c2edf59fccd30e14e35fd6caf85754a54cb5ae9a9a2381dbe5db4d7fc92 SHA512 4ce2b8965df03f0f26a10c22404f0d5f4f4f6af133b0516cb0e69d36e41a2396ffad065a56e36842eb20fb8bf171f5d70555ff1cfe7b7ff573cd8fab95e8cfc1 WHIRLPOOL ce5df69d0c869e023424b861ab0557d007cdd26da99298fba012dd78ba0c590e4faefff807aa78a8699a05145714079345bd8bc70cc38cf3f8e4e6482a13393a diff --git a/sci-libs/coinor-osi/coinor-osi-0.106.5.ebuild b/sci-libs/coinor-osi/coinor-osi-0.106.5.ebuild new file mode 100644 index 000000000000..6c960477e52d --- /dev/null +++ b/sci-libs/coinor-osi/coinor-osi-0.106.5.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-osi/coinor-osi-0.106.5.ebuild,v 1.1 2014/01/14 17:58:51 bicatali Exp $ + +EAPI=5 + +inherit autotools-utils multilib + +MYPN=Osi + +DESCRIPTION="COIN-OR Open Solver Interface" +HOMEPAGE="https://projects.coin-or.org/Osi/" +SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz" + +LICENSE="EPL-1.0" +SLOT="0/1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples glpk static-libs test" + +RDEPEND=" + sci-libs/coinor-utils:= + glpk? ( sci-mathematics/glpk:= )" +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:\(libOsi.*_la_LIBADD.*=\).*:\1 $(top_builddir)/src/Osi/libOsi.la:g' \ + src/Osi*/Makefile.in || die + sed -i \ + -e 's:\(libOsi_la_LIBADD.*=\).*:\1 @OSILIB_LIBS@:g' \ + src/Osi/Makefile.in || die +} + +src_configure() { + local myeconfargs=( + $(use_with doc dot) + ) + if use glpk; then + myeconfargs+=( + --with-glpk-incdir="${EPREFIX}"/usr/include + --with-glpk-lib=-lglpk + ) + else + myeconfargs+=( --without-glpk ) + fi + PKG_CONFIG_PATH+="${ED}"/usr/$(get_libdir)/pkgconfig \ + autotools-utils_src_configure +} + +src_compile() { + 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/") + 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-osi/metadata.xml b/sci-libs/coinor-osi/metadata.xml new file mode 100644 index 000000000000..3bcaa06c35ef --- /dev/null +++ b/sci-libs/coinor-osi/metadata.xml @@ -0,0 +1,15 @@ +<?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 Open Solver Interface is a uniform API for interacting with + callable solver libraries. It supports linear programming solvers as + well as the ability to "finish off" a mixed-integer problem calling the + solver library's MIP solver. +</longdescription> +<use> + <flag name='glpk'>Enable GNU Linear Programming Kit + <pkg>sci-mathematics/glpk</pkg> support</flag> +</use> +</pkgmetadata> |