public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-libs/scotch: scotch-5.1.7.ebuild ChangeLog
@ 2010-01-15 22:43 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2010-01-15 22:43 UTC (permalink / raw
  To: gentoo-commits

patrick     10/01/15 22:43:52

  Modified:             ChangeLog
  Added:                scotch-5.1.7.ebuild
  Log:
  Bump, thanks to Oliver Borm. Fixes #301012 and #297656
  (Portage version: 2.2_rc61/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  sci-libs/scotch/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scotch/ChangeLog?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scotch/ChangeLog?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scotch/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/scotch/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog	3 Sep 2009 16:58:50 -0000	1.1
+++ ChangeLog	15 Jan 2010 22:43:52 -0000	1.2
@@ -1,6 +1,12 @@
 # ChangeLog for sci-libs/scotch
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scotch/ChangeLog,v 1.1 2009/09/03 16:58:50 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scotch/ChangeLog,v 1.2 2010/01/15 22:43:52 patrick Exp $
+
+*scotch-5.1.7 (15 Jan 2010)
+
+  15 Jan 2010; Patrick Lauer <pal@gentoo.org> +scotch-5.1.7.ebuild,
+  +files/Makefile.inc_5.1.7, +files/shared-libs_5.1.7.patch:
+  Bump, thanks to Oliver Borm. Fixes #301012 and #297656
 
 *scotch-5.1.6 (03 Sep 2009)
 



1.1                  sci-libs/scotch/scotch-5.1.7.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scotch/scotch-5.1.7.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scotch/scotch-5.1.7.ebuild?rev=1.1&content-type=text/plain

Index: scotch-5.1.7.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/scotch/scotch-5.1.7.ebuild,v 1.1 2010/01/15 22:43:52 patrick Exp $

EAPI="2"

inherit eutils

DESCRIPTION="Software package and libraries for graph partitioning, static mapping, and sparse matrix block ordering"
HOMEPAGE="http://www.labri.u-bordeaux.fr/perso/pelegrin/scotch/"
SRC_URI="http://gforge.inria.fr/frs/download.php/23390/${PN}_${PV}.tgz"

LICENSE="CeCILL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="mpi"

DEPEND="sys-devel/bison
	mpi? ( virtual/mpi )"
RDEPEND="${DEPEND}"

S=${WORKDIR}"/scotch_5.1/src"

src_prepare() {
	epatch "${FILESDIR}"/shared-libs_${PV}.patch
	epatch "${FILESDIR}"/metis-header.patch
}

src_configure() {
	cp "${FILESDIR}"/Makefile.inc_${PV} ./Makefile.inc
}

src_compile() {
	emake -j1 || die "make failed"
	use mpi && (emake -j1 ptscotch || die "make failed")
}

src_install() {
	dodir "/usr"
	emake prefix="${D}/usr" install

	use mpi && dobin "${S}"/../bin/{dgord,dgscat,dgtst}

	for file in `ls "${D}"/usr/bin`
	do
		mv "${D}/usr/bin/$file" "${D}/usr/bin/scotch_$file"
	done

	for file in `ls "${D}"/usr/share/man/man1`
	do
		mv "${D}/usr/share/man/man1/$file" "${D}/usr/share/man/man1/scotch_$file"
	done

	dolib.so "${S}"/{libscotch,libscotchmetis}/*.so
	if [ "$(get_libdir)" != "lib" ]; then
		mv "${D}"/usr/lib/* "${D}"/usr/$(get_libdir)
		rm -rf "${D}"/usr/lib
	fi

	insinto /usr/include/scotch
	doins "${S}"/libscotch/*.h

	insinto /usr/include/scotchmetis
	doins "${S}"/libscotchmetis/*.h

	mv "${D}"/usr/include/*scotch*.h "${D}"/usr/include/scotch/

	insinto "/usr/share/${PN}/tgt"
	doins "${S}"/../tgt/*
	insinto "/usr/share/${PN}/grf"
	doins "${S}"/../grf/*

	cd "${S}/../doc"
	dodoc *.pdf
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-15 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-15 22:43 [gentoo-commits] gentoo-x86 commit in sci-libs/scotch: scotch-5.1.7.ebuild ChangeLog Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox