From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 853481381F3 for ; Sun, 26 May 2013 18:34:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16E0CE0BD9; Sun, 26 May 2013 18:34:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 95CAEE0BD9 for ; Sun, 26 May 2013 18:34:45 +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 8363033DD01 for ; Sun, 26 May 2013 18:34:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0EAFDE4402 for ; Sun, 26 May 2013 18:34:42 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1369593110.9f648dc97a4908f61e7f4bfcf3fc72d315a1b4bf.bicatali@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/coinor-flopcpp/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/coinor-flopcpp/ChangeLog sci-libs/coinor-flopcpp/coinor-flopcpp-1.1.2.ebuild sci-libs/coinor-flopcpp/metadata.xml X-VCS-Directories: sci-libs/coinor-flopcpp/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 9f648dc97a4908f61e7f4bfcf3fc72d315a1b4bf X-VCS-Branch: master Date: Sun, 26 May 2013 18:34:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 54a91b70-367a-477d-b454-2367d92e93ec X-Archives-Hash: 93bffc9f32508b787581e6e478ed7d99 commit: 9f648dc97a4908f61e7f4bfcf3fc72d315a1b4bf Author: Sébastien Fabbro gentoo org> AuthorDate: Sun May 26 18:31:50 2013 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Sun May 26 18:31:50 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9f648dc9 sci-libs/coinor-flopcpp: Initial import Package-Manager: portage-2.2.01.21938-prefix RepoMan-Options: --force --- sci-libs/coinor-flopcpp/ChangeLog | 9 +++ .../coinor-flopcpp/coinor-flopcpp-1.1.2.ebuild | 67 ++++++++++++++++++++ sci-libs/coinor-flopcpp/metadata.xml | 14 ++++ 3 files changed, 90 insertions(+), 0 deletions(-) diff --git a/sci-libs/coinor-flopcpp/ChangeLog b/sci-libs/coinor-flopcpp/ChangeLog new file mode 100644 index 0000000..912a4b5 --- /dev/null +++ b/sci-libs/coinor-flopcpp/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-libs/coinor-flopcpp +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*coinor-flopcpp-1.1.2 (26 May 2013) + + 26 May 2013; Sébastien Fabbro + +coinor-flopcpp-1.1.2.ebuild, +metadata.xml: + sci-libs/coinor-flopcpp: Initial import diff --git a/sci-libs/coinor-flopcpp/coinor-flopcpp-1.1.2.ebuild b/sci-libs/coinor-flopcpp/coinor-flopcpp-1.1.2.ebuild new file mode 100644 index 0000000..b388816 --- /dev/null +++ b/sci-libs/coinor-flopcpp/coinor-flopcpp-1.1.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit autotools-utils multilib + +MYPN=FlopC++ + +DESCRIPTION="COIN-OR algebraic modelling language for linear optimization" +HOMEPAGE="https://projects.coin-or.org/FlopC++/" +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" + +RDEPEND=" + sci-libs/coinor-cgl + sci-libs/coinor-clp + sci-libs/coinor-osi" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] )" + +S="${WORKDIR}/${MYPN}-${PV}/FlopCpp" + +src_prepare() { + # as-needed fix + # hack to avoid eautoreconf (coinor has its own weird autotools) + sed -i \ + -e 's:\(libFlopCpp_la_LIBADD.*=.*\)$:\1 @FLOPCPP_LIBS@:' \ + src/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 + if use doc; then + cd "${WORKDIR}/${MYPN}-${PV}/doxydoc" || die + doxygen doxygen.conf || die + fi +} + +src_test() { + pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die + emake test + popd > /dev/null || die +} + +src_install() { + use doc && HTML_DOC=("${WORKDIR}/${MYPN}-${PV}/doxydoc/html/") + autotools-utils_src_install + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/sci-libs/coinor-flopcpp/metadata.xml b/sci-libs/coinor-flopcpp/metadata.xml new file mode 100644 index 0000000..fd88f40 --- /dev/null +++ b/sci-libs/coinor-flopcpp/metadata.xml @@ -0,0 +1,14 @@ + + + +sci + + The COIN-OR Formulation of Linear Optimization Problems in C++ + (FLOPC++) is a linear optimization modelling language that can be + specified in a declarative style, similar to algebraic modelling + languages such as GAMS and AMPL, within a C++ program. As a result + the traditional strengths of algebraic modelling languages are + preserved, while embedding linear optimization models in software + applications is facilitated. + +