diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-14 18:54:51 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2014-01-14 18:54:51 +0000 |
commit | 12717ec5a6ae53914b6080c27fca3fbe903a413d (patch) | |
tree | f0fd5bf72ef3a7aa56b118cdc5104f4a5f9bad44 /sci-libs/coinor-cgl | |
parent | Initial import in main tree (diff) | |
download | gentoo-2-12717ec5a6ae53914b6080c27fca3fbe903a413d.tar.gz gentoo-2-12717ec5a6ae53914b6080c27fca3fbe903a413d.tar.bz2 gentoo-2-12717ec5a6ae53914b6080c27fca3fbe903a413d.zip |
Initial import in main tree
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs/coinor-cgl')
-rw-r--r-- | sci-libs/coinor-cgl/ChangeLog | 42 | ||||
-rw-r--r-- | sci-libs/coinor-cgl/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/coinor-cgl/coinor-cgl-0.58.5.ebuild | 73 | ||||
-rw-r--r-- | sci-libs/coinor-cgl/metadata.xml | 12 |
4 files changed, 131 insertions, 0 deletions
diff --git a/sci-libs/coinor-cgl/ChangeLog b/sci-libs/coinor-cgl/ChangeLog new file mode 100644 index 000000000000..1aefc4dc1072 --- /dev/null +++ b/sci-libs/coinor-cgl/ChangeLog @@ -0,0 +1,42 @@ +# ChangeLog for sci-libs/coinor-cgl +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cgl/ChangeLog,v 1.1 2014/01/14 18:54:51 bicatali Exp $ + +*coinor-cgl-0.58.5 (14 Jan 2014) + + 14 Jan 2014; Sébastien Fabbro <bicatali@gentoo.org> + +coinor-cgl-0.58.5.ebuild, +metadata.xml: + Initial import in main tree + +*coinor-cgl-0.58.4 (07 Dec 2013) + + 07 Dec 2013; Sébastien Fabbro <bicatali@gentoo.org> +coinor-cgl-0.58.4.ebuild, + -coinor-cgl-0.58.1.ebuild: + sci-libs/coinor-cgl: Version bump + +*coinor-cgl-0.58.1 (03 Jul 2013) + + 03 Jul 2013; Sébastien Fabbro <bicatali@gentoo.org> +coinor-cgl-0.58.1.ebuild, + -coinor-cgl-0.58.0.ebuild: + sci-libs/coinor-cgl: Version bump + + 26 May 2013; Sébastien Fabbro <bicatali@gentoo.org> coinor-cgl-0.58.0.ebuild: + sci-libs/coinor-cgl: Fixed missing header + +*coinor-cgl-0.58.0 (26 May 2013) + + 26 May 2013; Sébastien Fabbro <bicatali@gentoo.org> +coinor-cgl-0.58.0.ebuild, + -coinor-cgl-0.57.4.ebuild: + sci-libs/coinor-cgl: Version bump + +*coinor-cgl-0.57.4 (29 Jan 2013) + + 29 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org> +coinor-cgl-0.57.4.ebuild, + -coinor-cgl-0.57.3.ebuild: + sci-libs/coinor-cgl: Version bump + +*coinor-cgl-0.57.3 (16 Jul 2012) + + 16 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> +coinor-cgl-0.57.3.ebuild, + +metadata.xml: + sci-libs/coinor-cgl: Initial import diff --git a/sci-libs/coinor-cgl/Manifest b/sci-libs/coinor-cgl/Manifest new file mode 100644 index 000000000000..0284f77d5991 --- /dev/null +++ b/sci-libs/coinor-cgl/Manifest @@ -0,0 +1,4 @@ +DIST Cgl-0.58.5.tgz 5330007 SHA256 ddd6db332b8b0f531992271749810794e44e415996e05476461d51136836ef4d SHA512 f4e5d837cc9de3b34d902aa952616113456a77e966edc7ed1fd14b49df751ddc309f0a83ebd35d5338cda94b976210ae682c9cdf10ed312a3e5fab86b02ca06f WHIRLPOOL 2862bbb475bb0d87d279669f16146ebd53b6eaef177add73bdb8e0cfe0e55a2ae531b5c258c63f10f3c550d7f6122edf81d331bd9612bf139902a633c8dfd4a2 +EBUILD coinor-cgl-0.58.5.ebuild 1721 SHA256 fe3884988fb05d67145dc35bc5d6de95f26bcb56dd0b253814d2577359baa566 SHA512 a9a5115ea0ce391b19e07dfc1c835ec548190060c18d6092bb8f63f5eb4a0f1c78f9f9c4a3cd562e9124161fce8bda6cf5681fe8d5fb30192f98c649d5cdcb7d WHIRLPOOL 2f1769b9d67198d30d6da22fed20dfc671094f086102f099757de4183cd49fb04313e14c0d16bef9500c16eeba49cdf5ffb8fa10336aa1ddbcbf8e222f2a44bf +MISC ChangeLog 1309 SHA256 b90735ec80dd3939b45a3af9f9945b35e61981ea77b6130b04d116bb2a32f6cf SHA512 54da19ce75cdbab87bec75be1efc631b7b162b10d999bd71a0895057cc261ca16dfb94b41d2e30b925416457fa1609b5b2ecad6a1bb2734e8aba6a22041c6d45 WHIRLPOOL f11bc3ddd5050e553667895af0e686005534cb486cd1863583733e4801595f9e586e034c24bc244f4cfb672ee279b83179a0a881d427079f9369579652195547 +MISC metadata.xml 490 SHA256 1e377e43badaf7a65429fdf3c29e883e0e6c61bd24b66e4d732c24297b444640 SHA512 2a42c2583c176b2995730713aeee74d69ebd6ed13e84a8908c6188b404ba2dc46c9c3243f55f49a59beb5fd2b0ae091e904ad550ebd990fde06b432e9ff1e1c5 WHIRLPOOL 23e3602756e2a31431d1d7fdbf42a030bd12574faf11ddb4c29bb506c9bbd3a2c7a9d80c7dcb8874424b1d1e7d952caec6ce339863f928237715ab29d10d2d53 diff --git a/sci-libs/coinor-cgl/coinor-cgl-0.58.5.ebuild b/sci-libs/coinor-cgl/coinor-cgl-0.58.5.ebuild new file mode 100644 index 000000000000..1efb2e66db9b --- /dev/null +++ b/sci-libs/coinor-cgl/coinor-cgl-0.58.5.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cgl/coinor-cgl-0.58.5.ebuild,v 1.1 2014/01/14 18:54:51 bicatali Exp $ + +EAPI=5 + +inherit autotools-utils multilib + +MYPN=Cgl + +DESCRIPTION="COIN-OR cutting-plane generators library" +HOMEPAGE="https://projects.coin-or.org/Cgl/" +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-clp + sci-libs/coinor-dylp + sci-libs/coinor-osi + sci-libs/coinor-utils + sci-libs/coinor-vol" +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:\(libCgl_la_LIBADD.*=.*\)$:\1 @CGLLIB_LIBS@:' \ + -e 's:\(libCgl_la_DEPENDENCIES.*=\).*:\1 $(CGL_SUBLIBS):' \ + src/Makefile.in || die + # add missing include header (0.58.4) + sed -i \ + -e 's:\(includecoin_HEADERS.*=.*\)$:\1 Cgl012cut.hpp:' \ + src/CglZeroHalf/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 "${BUILD_DIR}" > /dev/null || die + emake test + popd > /dev/null || die +} + +src_install() { + use doc && HTML_DOC=("${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-cgl/metadata.xml b/sci-libs/coinor-cgl/metadata.xml new file mode 100644 index 000000000000..20a7edd0c5af --- /dev/null +++ b/sci-libs/coinor-cgl/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"> + The COIN-OR Cut Generation Library (Cgl) is an open collection of + cutting plane implementations ("cut generators") for use in teaching, + research, and applications. Cgl can be used with other COIN-OR + packages that make use of cuts, such as the mixed-integer linear + programming. +</longdescription> +</pkgmetadata> |