diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-14 22:09:05 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-14 22:09:05 +0000 |
commit | 09a9a7eb05f07f9831d067ab3aa71651bb0fae49 (patch) | |
tree | 5d5a93d18faa5af79fd13a47f277b636f0d4a4d1 /sci-libs | |
parent | Initial import in main tree (diff) | |
download | historical-09a9a7eb05f07f9831d067ab3aa71651bb0fae49.tar.gz historical-09a9a7eb05f07f9831d067ab3aa71651bb0fae49.tar.bz2 historical-09a9a7eb05f07f9831d067ab3aa71651bb0fae49.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')
-rw-r--r-- | sci-libs/coinor-symphony/Manifest | 14 | ||||
-rw-r--r-- | sci-libs/coinor-symphony/coinor-symphony-5.5.7.ebuild | 89 | ||||
-rw-r--r-- | sci-libs/coinor-symphony/metadata.xml | 18 |
3 files changed, 119 insertions, 2 deletions
diff --git a/sci-libs/coinor-symphony/Manifest b/sci-libs/coinor-symphony/Manifest index cb213b38c30d..e096432e1692 100644 --- a/sci-libs/coinor-symphony/Manifest +++ b/sci-libs/coinor-symphony/Manifest @@ -1,4 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST SYMPHONY-5.5.7.tgz 7628863 SHA256 7828620ebe240239f6392a23a54fbacdb39f91c6571f2b98346b5b42436a20f0 SHA512 a3ce66b0b1373c58024ce6840277423a1a3684af8e3179a777fbb33a8d266849ae1cde694a527c3776ff67ce0a5ae3c2bfe0dc29f4e0b3ca51ddc2b299eefb24 WHIRLPOOL aa43df2d558bb328b9d226e7e15f8164cfd18eeac326b6ecd9306887703f2b8619b0343750415b526cfba73eb78319b6509f266ec527fbbb4bb2c84ae134f553 -EBUILD coinor-symphony-5.5.7.ebuild 2238 SHA256 a548e3c62e62d7dcee53d67a912ee0b805e81e41c05fde05d2c29f53c3828068 SHA512 3a15ed9c3f756b6eaaf48361051d79ab78c1252f28be160b005ea321684fc5995c380a44efd7ebf1070759623e102f5f7c3f962120f28e8c6177e919c201e0d8 WHIRLPOOL 809876d22214437e15593482ba89b4dac2d6b4fe37d5e1712af0a3db72a55b7aea284f05749956fb9b7ef03a4d334754ec42e41756641f9ae9236cb0785d75f1 -MISC ChangeLog 1277 SHA256 37cf93e9e8d83642a91bfd930cef476f7d22cacedd9a2aff610c93f762afa7ec SHA512 c0b26dfbcffcf828ea68cea1c356bcaf9d39fcbc107f8410c0d5c434e84ee858d8739c38fbbff9a68acab7c6f0bbab910a47523b82be78b1f5a401319cc98589 WHIRLPOOL 70cfb1a6f73a843d4ce1a41374858714ad83297ffc0889c820a416f696c0062254acaecf1c62246fbe79266e3fd5f6392f76bb9c0ca444239d1f8db90a50e1c5 +EBUILD coinor-symphony-5.5.7.ebuild 2355 SHA256 2e7abe8bc758f86bb44f66b98f1b4e67ca86af312682ead5e0ad2b5086b5392f SHA512 6328199b330e98b1d266e463633aa4ba873ce36ba187f39c9f6205e4bb2255073979938b499e3a36c3318e0d5c9d3b5bbe4906066eecb71bd1dc44c9aef42678 WHIRLPOOL 1817215fe71ef1cfee821d5769913172a68a77dff5c69f8b919ab5f154d2e1d0b98cba530870681a8632b043c7c8e6da57364bac6910af37c164676e30a77be9 +MISC ChangeLog 1375 SHA256 a1d868107793a673b80fd63c7af287dc38df5db69bf4fbc83e5245a33fee741f SHA512 d092efc756f9eb9ba4ed0fad7d8f5292f82c3bb5f8e03a7836a51742aaa62536585f73d1a86b805941b812c550364e2f944b3e144b639a4eedb10e90345f682a WHIRLPOOL a3d233b3ccaf29f9a8fac8ca2ba47373d6383c8e1d2c0f93c908403d6c6e047ba154fab4bd8f8a2849d26ffa6ed9c379e0293fb5f5b5808d291a128fab276a12 MISC metadata.xml 735 SHA256 8945dd111786194cf7a885ec203befaa7fe80431a5d0e5417f6f06f8882733a9 SHA512 cf4e36e83aba67c4d454e761ef62a0fd37961bf2afafaef52b5cfc0c7649743d7ab2b01c04141d9c26f37f103972572c98994c622257c7a76e6717eb32f3f181 WHIRLPOOL 338ba61dfcc001d7cc640298df33681577a9959c89f0f403cc24854a840ca82059cc4523adf0c2c0d19dffad13abc7737801b3f0f61d99377f235d5192c8be20 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iEYEAREIAAYFAlLVtX0ACgkQ1ycZbhPLE2BirgCbB9BsEj26EFDRtb6SKYa6pryB +4rYAoIaziw44su52PpoGd0599/V8NGK8 +=BLxg +-----END PGP SIGNATURE----- diff --git a/sci-libs/coinor-symphony/coinor-symphony-5.5.7.ebuild b/sci-libs/coinor-symphony/coinor-symphony-5.5.7.ebuild new file mode 100644 index 000000000000..40c91416df8d --- /dev/null +++ b/sci-libs/coinor-symphony/coinor-symphony-5.5.7.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-symphony/coinor-symphony-5.5.7.ebuild,v 1.1 2014/01/14 22:09:00 bicatali Exp $ + +EAPI=5 + +inherit autotools-utils multilib + +MYPN=SYMPHONY + +DESCRIPTION="COIN-OR solver for mixed-integer linear programs" +HOMEPAGE="https://projects.coin-or.org/SYMPHONY/" +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 glpk static-libs test" + +RDEPEND=" + sci-libs/coinor-cgl:= + sci-libs/coinor-clp:= + sci-libs/coinor-dylp:= + sci-libs/coinor-osi:= + sci-libs/coinor-utils:= + sci-libs/coinor-vol:= + glpk? ( sci-mathematics/glpk:= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( virtual/latex-base ) + 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:\(libOsiSym_la_LIBADD.*=\).*:\1 $(top_builddir)/src/libSym.la:' \ + src/OsiSym/Makefile.in || die + sed -i \ + -e 's:\(libSym_la_LIBADD.*=\).*:\1 @SYMPHONYLIB_LIBS@:g' \ + src/Makefile.in || die +} + +src_configure() { + local myeconfargs=() + 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() { + # hack for parallel build, to overcome not patching Makefile.am above + autotools-utils_src_compile -C src libSym.la + autotools-utils_src_compile + if use doc; then + pushd Doc /dev/null + pdflatex Walkthrough && pdflatex Walkthrough + # does not compile and doc is online + #pdflatex man && pdflatex man + popd > /dev/null + fi +} + +src_test() { + pushd "${BUILD_DIR}" > /dev/null || die + emake test + popd > /dev/null || die +} + +src_install() { + # hack for parallel install, to overcome not patching Makefile.am above + autotools-utils_src_install -C src install-am + autotools-utils_src_install + use doc && dodoc Doc/Walkthrough.pdf + # already installed + rm "${ED}"/usr/share/coin/doc/${MYPN}/{README,AUTHORS,LICENSE} || die + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r Examples/* + fi +} diff --git a/sci-libs/coinor-symphony/metadata.xml b/sci-libs/coinor-symphony/metadata.xml new file mode 100644 index 000000000000..4940c67df094 --- /dev/null +++ b/sci-libs/coinor-symphony/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"> + SYMPHONY is a generic mixed-integer linear programs + (MILP) solver, callable library, and extensible framework for implementing + customized solvers. SYMPHONY has a number of advanced capabilities, + including the ability to solve multi-objective MILPs, the ability to + warm start its solution procedure. + SYMPHONY is part of the larger COIN-OR initiative (Computational + Infrastructurefor Operations Research). +</longdescription> +<use> + <flag name='glpk'>Enable GNU Linear Programming Kit + <pkg>sci-mathematics/glpk</pkg> support</flag> +</use> +</pkgmetadata> |