diff options
author | Sebastien Fabbro <sfabbro@uvic.ca> | 2012-07-16 15:16:33 -0700 |
---|---|---|
committer | Sebastien Fabbro <sfabbro@uvic.ca> | 2012-07-16 15:16:33 -0700 |
commit | 63780d345dec8b8cfbefd635bb5a2913269ca4ea (patch) | |
tree | d11f25119c2ce1a6a6951d4b241dea33f08a17f6 | |
parent | sci-libs/coinor-vol: Initial import (diff) | |
download | sci-63780d345dec8b8cfbefd635bb5a2913269ca4ea.tar.gz sci-63780d345dec8b8cfbefd635bb5a2913269ca4ea.tar.bz2 sci-63780d345dec8b8cfbefd635bb5a2913269ca4ea.zip |
sci-libs/coinor-dylp: Initial import
(Portage version: 2.2.01.20757-prefix/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
-rw-r--r-- | sci-libs/coinor-dylp/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/coinor-dylp/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/coinor-dylp/coinor-dylp-1.8.3.ebuild | 66 | ||||
-rw-r--r-- | sci-libs/coinor-dylp/metadata.xml | 12 |
4 files changed, 88 insertions, 0 deletions
diff --git a/sci-libs/coinor-dylp/ChangeLog b/sci-libs/coinor-dylp/ChangeLog new file mode 100644 index 000000000..1677e795b --- /dev/null +++ b/sci-libs/coinor-dylp/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-libs/coinor-dylp +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*coinor-dylp-1.8.3 (16 Jul 2012) + + 16 Jul 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +coinor-dylp-1.8.3.ebuild, + +metadata.xml: + sci-libs/coinor-dylp: Initial import diff --git a/sci-libs/coinor-dylp/Manifest b/sci-libs/coinor-dylp/Manifest new file mode 100644 index 000000000..a423d2dab --- /dev/null +++ b/sci-libs/coinor-dylp/Manifest @@ -0,0 +1 @@ +DIST DyLP-1.8.3.tgz 4956424 SHA256 3339e1ac4579c951c478cf4eb0c10517195d1e38f00fdde48324c5914bba07cd SHA512 5178d9d24ad75dd1c4b76544e0cdf1141b13147147ed490e5e4540833a4112d02043a1b2237e627284f7b6f0e455ec52da214e350426f3b295b33497d773b3ec WHIRLPOOL b4286d0bfda11f19c5714dfd32c2a0cf817c6aa85a72bc45690f43c5d53f5da82096d4af71124e5c03976cb352bc056fb6ac31c4a8c8867e13ca3df3b77eb0af diff --git a/sci-libs/coinor-dylp/coinor-dylp-1.8.3.ebuild b/sci-libs/coinor-dylp/coinor-dylp-1.8.3.ebuild new file mode 100644 index 000000000..f62ad1ace --- /dev/null +++ b/sci-libs/coinor-dylp/coinor-dylp-1.8.3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit autotools-utils multilib + +MYPN=DyLP + +DESCRIPTION="COIN-OR using the dynamic simplex linear programming solver" +HOMEPAGE="https://projects.coin-or.org/DyLP/" +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="doc examples static-libs test" + +RDEPEND="sci-libs/coinor-osi" +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:\(libOsiDylp_la_LIBADD.*=.*\)$:\1 $(top_builddir)/src/Dylp/libDylp.la @OSIDYLPLIB_LIBS@:g' \ + src/OsiDylp/Makefile.in || die + sed -i \ + -e 's:\(libDylpStdLib_la_LIBADD.*=.*\)$:\1 @DYLPLIB_LIBS@:g' \ + src/DylpStdLib/Makefile.in || die +} + +src_configure() { + local myeconfargs=( + $(use_with doc dot) + ) + 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 "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die + emake test + popd > /dev/null || die +} + +src_install() { + use doc && HTML_DOC=("${AUTOTOOLS_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-dylp/metadata.xml b/sci-libs/coinor-dylp/metadata.xml new file mode 100644 index 000000000..148a97c63 --- /dev/null +++ b/sci-libs/coinor-dylp/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + DyLp is designed to find solutions of constrained linear mathematical + optimization problems. To this end, it is using a full implementation + of the so called dynamic simplex algorithm for linear programming. + DyLP is part of the larger COIN-OR initiative (Computational + Infrastructure for Operations Research). +</longdescription> +</pkgmetadata> |