diff options
author | Sebastien Fabbro <sfabbro@uvic.ca> | 2012-07-19 14:42:06 -0700 |
---|---|---|
committer | Sebastien Fabbro <sfabbro@uvic.ca> | 2012-07-19 14:42:06 -0700 |
commit | 5049dc4afed6cdf4e21b40e4f267e6f2235b1a49 (patch) | |
tree | 2e12b6eecf6ac9f3690b6ef5c50cc725206d1275 /sci-libs/coinor-os | |
parent | Merge branch 'master' of git://git.overlays.gentoo.org/proj/sci; github.com:g... (diff) | |
download | sci-5049dc4afed6cdf4e21b40e4f267e6f2235b1a49.tar.gz sci-5049dc4afed6cdf4e21b40e4f267e6f2235b1a49.tar.bz2 sci-5049dc4afed6cdf4e21b40e4f267e6f2235b1a49.zip |
sci-libs/coinor-os: Initial import
(Portage version: 2.2.01.20757-prefix/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sci-libs/coinor-os')
-rw-r--r-- | sci-libs/coinor-os/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/coinor-os/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/coinor-os/coinor-os-2.6.0.ebuild | 69 | ||||
-rw-r--r-- | sci-libs/coinor-os/metadata.xml | 11 |
4 files changed, 90 insertions, 0 deletions
diff --git a/sci-libs/coinor-os/ChangeLog b/sci-libs/coinor-os/ChangeLog new file mode 100644 index 000000000..0b7db7946 --- /dev/null +++ b/sci-libs/coinor-os/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-libs/coinor-os +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*coinor-os-2.6.0 (19 Jul 2012) + + 19 Jul 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +coinor-os-2.6.0.ebuild, + +metadata.xml: + sci-libs/coinor-os: Initial import diff --git a/sci-libs/coinor-os/Manifest b/sci-libs/coinor-os/Manifest new file mode 100644 index 000000000..615ee7e59 --- /dev/null +++ b/sci-libs/coinor-os/Manifest @@ -0,0 +1 @@ +DIST OS-2.6.0.tgz 35027664 SHA256 788b85e21901f8309c0d8030c91ad4ac16fdeedc7e9591caf72ffb7993b01c69 SHA512 e648d56fe7bc7bb6f43f948ad32902333b5aeaadf920a636963e2e38e7471d5f7b6c9b6a6fb745a478a505fc51cecc08e071a995c9da0dd2867e9cec010d18f0 WHIRLPOOL e30e03d40328ab7a4b057c8514495c7ec329b724590c3881b9acda5868817acd0d0b3705e202490498493ab9564e97893db41310efe9e557b5f43b8631554d3c diff --git a/sci-libs/coinor-os/coinor-os-2.6.0.ebuild b/sci-libs/coinor-os/coinor-os-2.6.0.ebuild new file mode 100644 index 000000000..cf1b9bbb0 --- /dev/null +++ b/sci-libs/coinor-os/coinor-os-2.6.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit autotools-utils multilib + +MYPN=OS + +DESCRIPTION="COIN-OR Optimization Services" +HOMEPAGE="https://projects.coin-or.org/OS/" +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-bcp + sci-libs/coinor-bonmin + sci-libs/coinor-couenne + sci-libs/coinor-clp + sci-libs/coinor-dylp + sci-libs/coinor-symphony + sci-libs/coinor-utils + sci-libs/coinor-vol + sci-libs/ipopt" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] ) + test? ( sci-libs/coinor-sample )" + +# fail because coinor-bonmin, couenne, needs hsl library (annoying registration) +RESTRICT=test + +S="${WORKDIR}/${MYPN}-${PV}/${MYPN}" + +src_prepare() { + # as-needed fix + # hack to avoid eautoreconf (coinor has its own weird autotools) + sed -i \ + -e 's:\(libOS_la_LIBADD.*=\):\1 @OSLIB_LIBS@:g' \ + src/Makefile.in || die + # bug for later versions of subversions + sed -i \ + -e 's/xexported/xexported -a "x$svn_rev_tmp" != "xUnversioned directory"/' \ + configure || die +} + +src_configure() { + # autodetect everyting with pkg-config + # TOFIX: should we do use flags? + local myeconfargs=() + PKG_CONFIG_PATH+="${ED}"/usr/$(get_libdir)/pkgconfig \ + autotools-utils_src_configure +} + +src_test() { + pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die + emake test + popd > /dev/null || die +} + +src_install() { + autotools-utils_src_install + use doc && dodoc doc/*.pdf +} diff --git a/sci-libs/coinor-os/metadata.xml b/sci-libs/coinor-os/metadata.xml new file mode 100644 index 000000000..fd3616a08 --- /dev/null +++ b/sci-libs/coinor-os/metadata.xml @@ -0,0 +1,11 @@ +<?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 objective of Optimization Services (OS) is to provide a set of + standards for representing optimization instances, results, solver + options, and communication between clients and solvers in a + distributed environment using Web Services. +</longdescription> +</pkgmetadata> |