diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/coinor-alps/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/coinor-alps/coinor-alps-1.5.4.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/sci-libs/coinor-alps/Manifest b/sci-libs/coinor-alps/Manifest index d887e675145..77c89cf7bbd 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 00000000000..66d7cc32450 --- /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 +} |