From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1Squd3-0006LR-SV for garchives@archives.gentoo.org; Mon, 16 Jul 2012 23:23:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD3CDE06F3; Mon, 16 Jul 2012 23:21:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 90162E06F3 for ; Mon, 16 Jul 2012 23:21:44 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C26E81B400E for ; Mon, 16 Jul 2012 23:21:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CD6EAE53FD for ; Mon, 16 Jul 2012 23:21:40 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1342476910.8345002549dd07e6940a793dc0440775b4bd70fa.bicatali@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/coinor-vol/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/coinor-vol/ChangeLog sci-libs/coinor-vol/coinor-vol-1.3.3.ebuild sci-libs/coinor-vol/metadata.xml X-VCS-Directories: sci-libs/coinor-vol/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 8345002549dd07e6940a793dc0440775b4bd70fa X-VCS-Branch: master Date: Mon, 16 Jul 2012 23:21:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f9bfcf53-606b-4900-ad37-9dcd71b9b9ad X-Archives-Hash: 12b5e61f4b9c78fee63467efae4eac1f commit: 8345002549dd07e6940a793dc0440775b4bd70fa Author: Sebastien Fabbro uvic ca> AuthorDate: Mon Jul 16 22:15:10 2012 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Mon Jul 16 22:15:10 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D83450025 sci-libs/coinor-vol: Initial import (Portage version: 2.2.01.20757-prefix/git/Linux x86_64, RepoMan options: = --force, unsigned Manifest commit) --- sci-libs/coinor-vol/ChangeLog | 9 ++++ sci-libs/coinor-vol/coinor-vol-1.3.3.ebuild | 70 +++++++++++++++++++++= ++++++ sci-libs/coinor-vol/metadata.xml | 10 ++++ 3 files changed, 89 insertions(+), 0 deletions(-) diff --git a/sci-libs/coinor-vol/ChangeLog b/sci-libs/coinor-vol/ChangeLo= g new file mode 100644 index 0000000..44b06ec --- /dev/null +++ b/sci-libs/coinor-vol/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-libs/coinor-vol +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*coinor-vol-1.3.3 (16 Jul 2012) + + 16 Jul 2012; S=C3=A9bastien Fabbro +coinor-vol-1= .3.3.ebuild, + +metadata.xml: + sci-libs/coinor-vol: Initial import diff --git a/sci-libs/coinor-vol/coinor-vol-1.3.3.ebuild b/sci-libs/coino= r-vol/coinor-vol-1.3.3.ebuild new file mode 100644 index 0000000..22c5c9b --- /dev/null +++ b/sci-libs/coinor-vol/coinor-vol-1.3.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +inherit autotools-utils multilib + +MYPN=3DVol + +DESCRIPTION=3D"COIN-OR Volume algorithm linear programming solver" +HOMEPAGE=3D"https://projects.coin-or.org/Vol" +SRC_URI=3D"http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.= tgz" + +LICENSE=3D"EPL-1.0" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE=3D"doc examples static-libs test" + +RDEPEND=3D" + sci-libs/coinor-osi + sci-libs/coinor-utils" +DEPEND=3D"${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] ) + test? ( sci-libs/coinor-sample )" + +S=3D"${WORKDIR}/${MYPN}-${PV}/${MYPN}" + +src_prepare() { + # as-needed fix + # hack to avoid eautoreconf (coinor has its own weird autotools) + sed -i \ + -e 's:\(libOsiVol_la_LIBADD.*=3D\).*:\1 $(top_builddir)/src/libVol.la = @OSI_LIBS@:g' \ + src/OsiVol*/Makefile.in || die + sed -i \ + -e 's:\(libVol_la_LIBADD.*=3D\).*:\1 @VOLLIB_LIBS@:g' \ + src/Makefile.in || die +} + +src_configure() { + local myeconfargs=3D( + $(use_with doc dot) + ) + PKG_CONFIG_PATH+=3D"${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 libVol.la + 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=3D("${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-vol/metadata.xml b/sci-libs/coinor-vol/metad= ata.xml new file mode 100644 index 0000000..a9bae53 --- /dev/null +++ b/sci-libs/coinor-vol/metadata.xml @@ -0,0 +1,10 @@ + + + +sci + + Volume Algorithm is part of COIN-OR (COmputational INfrastructure + for Operations Research) project. Vol is an implementation of a + subgradient method that produces primal as well as dual solutions. + +