commit:     314dbc6dd4fdd2c0b247a7d1c208964c1513e136
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  7 20:33:19 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb  7 20:34:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=314dbc6d

sci-libs/coinor-alps: Version bump to 1.5.4

Gentoo-Bug: 532256, 527414
* EAPI=6

Package-Manager: portage-2.2.27

 sci-libs/coinor-alps/Manifest                 |  1 +
 sci-libs/coinor-alps/coinor-alps-1.5.4.ebuild | 62 +++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/sci-libs/coinor-alps/Manifest b/sci-libs/coinor-alps/Manifest
index d887e67..77c89cf 100644
--- a/sci-libs/coinor-alps/Manifest
+++ b/sci-libs/coinor-alps/Manifest
@@ -1 +1,2 @@
 DIST Alps-1.4.9.tgz 5564207 SHA256 
b1d1636ed16b3a3982d7bc547da9713657cd22cbc3ed4d4323ec63af04d139d2 SHA512 
b8f557d33f3d02d0bf98541309934eeebebd21829fe1e2a438b07e6e17f0a1de1a970ed97b28cdaddc8b14eb1092a86db4d44838cef70bae3d091cd48fe8e2d8
 WHIRLPOOL 
dddf890622d44f0c42278a15e0ac979cc6faa9cfa9b26b47fcc785de709098a044bd68d2fe81671b0ab5bae268c18f2ad8b00741bdf96ec7779ce76bf71fc352
+DIST Alps-1.5.4.tgz 5691940 SHA256 
e9ca0a3b6f7013b04845935b26ebcda9468eae23b31ae2dcee2dbeb30a046f3a SHA512 
eace2f0e3dde682ee92b8e185ba6ea226a681dbcecb5fcf5258334e6deed89705b2c61821896b07323459fbd8575a31fa91c3342becbc9f6173efdf094d39555
 WHIRLPOOL 
4c77b472bbacb7dcee8f00be91198a17f745769aac00e720b46c034d5e0a8805142efd350eb23a8d3602e4faaa464a6334cd6aa726f8b20b7dccabb6bcd0eebf

diff --git a/sci-libs/coinor-alps/coinor-alps-1.5.4.ebuild 
b/sci-libs/coinor-alps/coinor-alps-1.5.4.ebuild
new file mode 100644
index 0000000..66d7cc3
--- /dev/null
+++ b/sci-libs/coinor-alps/coinor-alps-1.5.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils
+
+MYPN=Alps
+
+DESCRIPTION="COIN-OR Framework for implementing parallel graph search 
algorithms"
+HOMEPAGE="https://projects.coin-or.org/CHiPPS/";
+SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz";
+
+LICENSE="CPL-1.0"
+SLOT="0/3"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples static-libs test"
+
+RDEPEND="
+       sci-libs/coinor-utils:=
+       sci-libs/coinor-clp:="
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen[dot] )
+       test? ( sci-libs/coinor-sample sci-libs/coinor-cgl )"
+
+S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
+
+src_prepare() {
+       default
+       # as-needed fix
+       # hack to avoid eautoreconf (coinor has its own weird autotools)
+       sed -i \
+               -e 's:\(libAlps_la_LIBADD.*=\).*:\1 @ALPSLIB_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() {
+       PKG_CONFIG_PATH+="${ED}"/usr/$(get_libdir)/pkgconfig
+       export PKG_CONFIG_PATH
+       econf \
+               --enable-dependency-linking \
+               $(use_with doc dot) \
+               $(use_enable static-libs static)
+}
+
+src_compile() {
+       emake all $(usex doc doxydoc "")
+}
+
+src_install() {
+       default
+       use examples && dodoc -r examples/
+       use doc && dodoc -r doxydoc/html/
+
+       prune_libtool_files --all
+}

Reply via email to