Version bump
authorSebastien Fabbro <bicatali@gentoo.org>
Fri, 14 May 2010 16:44:09 +0000 (16:44 +0000)
committerSebastien Fabbro <bicatali@gentoo.org>
Fri, 14 May 2010 16:44:09 +0000 (16:44 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

sci-libs/spqr/ChangeLog
sci-libs/spqr/spqr-1.2.0.ebuild [new file with mode: 0644]
sci-libs/ufconfig/ChangeLog
sci-libs/ufconfig/ufconfig-3.5.0.ebuild [new file with mode: 0644]

index 091a8a92788d8aa3e7620b0a954434654eb83236..1ee879cfc810a0e388d5fdf362f1a8bc80cdcb9a 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sci-libs/spqr
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/spqr/ChangeLog,v 1.3 2009/11/21 07:58:34 bicatali Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/spqr/ChangeLog,v 1.4 2010/05/14 16:42:32 bicatali Exp $
+
+*spqr-1.2.0 (14 May 2010)
+
+  14 May 2010; Sébastien Fabbro <bicatali@gentoo.org> +spqr-1.2.0.ebuild:
+  Version bump
 
 *spqr-1.1.2 (21 Nov 2009)
 
diff --git a/sci-libs/spqr/spqr-1.2.0.ebuild b/sci-libs/spqr/spqr-1.2.0.ebuild
new file mode 100644 (file)
index 0000000..f96d402
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/spqr/spqr-1.2.0.ebuild,v 1.1 2010/05/14 16:42:32 bicatali Exp $
+
+EAPI=2
+inherit eutils autotools
+
+MY_PN=SPQR
+DESCRIPTION="Multithreaded multifrontal sparse QR factorization library"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/SPQR"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc metis tbb"
+RDEPEND="sci-libs/cholmod[supernodal]
+       tbb? ( dev-cpp/tbb )
+       metis? ( >=sci-libs/cholmod-1.7.0-r1[metis] )"
+DEPEND="${RDEPEND}
+       dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_prepare() {
+       cd "${WORKDIR}"
+       epatch "${FILESDIR}"/${PN}-1.1.0-autotools.patch
+       epatch "${FILESDIR}"/${PN}-1.1.0-gcc43.patch
+       cd "${S}"
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               $(use_with metis) \
+               $(use_with tbb)
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "emake install failed"
+       dodoc README.txt Doc/ChangeLog || die "dodoc failed"
+       if use doc; then
+               insinto /usr/share/doc/${PF}
+               doins Doc/*.pdf || die
+       fi
+}
index e299be8effd8dfe2a95a1a6558039db88e57b369..dbbfe1517f1bcb6b2f3f72541a7b6db94bdfb5c9 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sci-libs/ufconfig
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/ufconfig/ChangeLog,v 1.17 2010/01/02 18:18:13 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ufconfig/ChangeLog,v 1.18 2010/05/14 16:44:09 bicatali Exp $
+
+*ufconfig-3.5.0 (14 May 2010)
+
+  14 May 2010; Sébastien Fabbro <bicatali@gentoo.org>
+  +ufconfig-3.5.0.ebuild:
+  Version bump
 
   02 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
   ufconfig-3.4.0.ebuild:
diff --git a/sci-libs/ufconfig/ufconfig-3.5.0.ebuild b/sci-libs/ufconfig/ufconfig-3.5.0.ebuild
new file mode 100644 (file)
index 0000000..eb272c5
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ufconfig/ufconfig-3.5.0.ebuild,v 1.1 2010/05/14 16:44:09 bicatali Exp $
+
+inherit toolchain-funcs
+
+MY_PN=UFconfig
+DESCRIPTION="Common configuration scripts for the SuiteSparse libraries"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/UFconfig"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="static-libs"
+DEPEND=""
+
+S="${WORKDIR}/${MY_PN}"
+
+src_compile() {
+       $(tc-getCC) ${CFLAGS} -fPIC -c UFconfig.c -o UFconfig.lo || die
+       $(tc-getCC) ${LDFLAGS} -shared -Wl,-soname,libufconfig.so.${PV} -o libufconfig.so.${PV} UFconfig.lo || die
+       if use static-libs; then
+               $(tc-getCC) ${CFLAGS} -c UFconfig.c -o UFconfig.o || die
+               $(tc-getAR) libufconfig.a UFconfig.o
+       fi
+}
+
+src_install() {
+       dolib.so libufconfig.so.${PV} || die
+       dosym libufconfig.so.${PV} libufconfig.so
+       if use static-libs; then
+               dolib.a libufconfig.a || die
+       fi
+       insinto /usr/include
+       doins UFconfig.h || die
+       dodoc README.txt
+}