summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-01-14 22:06:00 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-01-14 22:06:00 +0000
commitd87baa498029d877ba035dbac68811becd8fa058 (patch)
tree01cac072fbee90f278184259fe63d2adb6d76f8c /sci-libs/coinor-mp
parentInitial import in main tree (diff)
downloadhistorical-d87baa498029d877ba035dbac68811becd8fa058.tar.gz
historical-d87baa498029d877ba035dbac68811becd8fa058.tar.bz2
historical-d87baa498029d877ba035dbac68811becd8fa058.zip
Initial import in main tree
Package-Manager: portage-2.2.8-prefix/cvs/Linux x86_64 Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-libs/coinor-mp')
-rw-r--r--sci-libs/coinor-mp/Manifest14
-rw-r--r--sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild56
-rw-r--r--sci-libs/coinor-mp/metadata.xml11
3 files changed, 79 insertions, 2 deletions
diff --git a/sci-libs/coinor-mp/Manifest b/sci-libs/coinor-mp/Manifest
index 66acc7108730..7602b004890b 100644
--- a/sci-libs/coinor-mp/Manifest
+++ b/sci-libs/coinor-mp/Manifest
@@ -1,4 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST CoinMP-1.7.6.tgz 10343849 SHA256 86c798780b9e1f5921fe4efe651a93cb420623b45aa1fdff57af8c37f116113f SHA512 1612d43d52d0ee29b4e6ca328e1535c59722dfd5c7a7e0811a4180ad6033ef27111ced6497f9d5cea816c047a4e11c2aed6d1936feac8ded797eeec55d9539ce WHIRLPOOL 32f392e7bc2a0ca1e4a3a7f4ae30d1302cac3e65630cfb8d1483dc5cdf26fb46ba758049f7bd590bb93e7b73018affe05118ebb15fe1e41ffaade8f5a938ea5a
-EBUILD coinor-mp-1.7.6.ebuild 1276 SHA256 de47db888c51735e7bdfcac748c0ebcbd3e29b7e809f4c516419a4f9e9d266ca SHA512 4a1be766a2171b44258d66dc6e116a9b5aabef38f459dab86703fb3747716edb37af1a8cb6bb5686832c04e102756bcca3081753bd2015c8ea01c44375268454 WHIRLPOOL e02cf81d44b967f9781803243e131e49b2fae84f4c76d4a0cf42594f84bc057ef2b56f3c12e46b44866ba58e3afdb53e1dc0264bd834805610efb4d074f298be
-MISC ChangeLog 925 SHA256 59b44e846195e262d9c6c71246ab06be607988736fb87b96b436f744489cc523 SHA512 8edf72a0a4d0ae84a1e11ef37fcbde0f5d84fa5ca5b413b936769a806f97aecf83d7129aea34396c848e4aaf5fa8a518023d51f068094400d4e0f5dfc04d026d WHIRLPOOL 6e90a3045f8bfc04d6f39706f0e9f67cf236549f5dd39afb42d0f1f877fd61bf1b8812dd3f0fea3b1614bbdd74e4def2828a922eff542deed4ce3cefe6dcebba
+EBUILD coinor-mp-1.7.6.ebuild 1381 SHA256 8a3b77fd3e1b0d2dd2111afb9645b2b95dc4de2d0f311004cf1ab127e8c871f1 SHA512 5e54a5a14b934ca9fbfa34e0a77ed3193e8a2a451af90b36c890831a0bad7efa2f0a7bd08ca2009ee17fcf9a8a55297472683082679735cdb296417090fc0ec8 WHIRLPOOL 9b0c0588bbdf5e41a6a0b60476500356d20283bd39650eb2ffeb73f45d76fd6a4a8c6abc83f4f82f2454c1f72c53fd3da80a6b51b62273b96f95def4af2c7bd8
+MISC ChangeLog 1017 SHA256 1741d5795c4a51b329f04472af8b6da434a8054be5e527c7f7a7cb49c4e9d976 SHA512 4f42d61f61ba7176c518a406f0a1e969592d9f4cecc46f36601fd2d72364785c16ff8e62e0df42aa3c536ce7213c95c8c2a202f66bfce65619429f594dfd9377 WHIRLPOOL ea1dd2f264cb7baf4df096eb76841408f350efabf886e87a60e468b31caf1a902dc77133efa1d835af5712162d3b612aa704277420bad5a1c2aabc91dcbec55b
MISC metadata.xml 443 SHA256 94168bca9caea40eb43886826c04670ecb871fc2fb6f43fa03f4bfb406bce8d0 SHA512 14a6d79deecfb92b85d7954ea432078a33e55c2cfcfc87d48e71d9d5ccc99c92859b65efaffa3273647fc38106f34c6e9fce983f95250d84a39eaf4dd3a1224d WHIRLPOOL ee80a204be9130ef231ce6b8a3eb2bf85e798db801b5d2cb0013341f445bb441c32eefd43ee227ee5cadf1f16fa3eb8457f46af32dd280295b832afa7f905e8c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iEYEAREIAAYFAlLVs94ACgkQ1ycZbhPLE2CCiACgqUkW+iV8U0QpDRjnrIgu/Pa2
+DS0AnRq1uG4Uk9J2P5fsKBfL6vF8uIfj
+=7Qhw
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild b/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild
new file mode 100644
index 000000000000..146e2658d356
--- /dev/null
+++ b/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild,v 1.1 2014/01/14 22:02:05 bicatali Exp $
+
+EAPI=5
+
+inherit autotools-utils multilib
+
+MYPN=CoinMP
+
+DESCRIPTION="COIN-OR lightweight API for COIN-OR libraries CLP, CBC, and CGL"
+HOMEPAGE="https://projects.coin-or.org/CoinMP/"
+SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
+
+LICENSE="EPL-1.0"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples static-libs"
+
+RDEPEND="sci-libs/coinor-cbc:="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
+
+src_prepare() {
+ # as-needed fix
+ # hack to avoid eautoreconf (coinor has its own weird autotools)
+ sed -i \
+ -e 's:\(libCoinMP_la_LIBADD.*=.*\)$:\1 @COINMP_LIBS@:' \
+ src/Makefile.in || die
+ sed -i \
+ -e '/addlibsdir/s/$(DESTDIR)//' \
+ Makefile.in || die
+}
+
+src_configure() {
+ PKG_CONFIG_PATH+="${ED}"/usr/$(get_libdir)/pkgconfig \
+ autotools-utils_src_configure
+}
+
+src_test() {
+ pushd "${BUILD_DIR}" > /dev/null || die
+ emake test
+ popd > /dev/null || die
+}
+
+src_install() {
+ 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-mp/metadata.xml b/sci-libs/coinor-mp/metadata.xml
new file mode 100644
index 000000000000..6ed87b8440b6
--- /dev/null
+++ b/sci-libs/coinor-mp/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 COmputational INfrastructure for Operations Research (COIN-OR)
+ MP is a C-API interface library that supports most of the
+ functionality of the CLP (Coin LP), CBC (Coin Branch-and-Cut), and
+ CGL (Cut Generation Library) projects.
+</longdescription>
+</pkgmetadata>