diff options
author | Markus Dittrich <markusle@gentoo.org> | 2009-09-11 13:33:34 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2009-09-11 13:33:34 +0000 |
commit | 60807953651fe4951a3971da10a879589859e604 (patch) | |
tree | ccf1b257a861fa6fe2d796e3064ca381341a9d2e /sci-libs | |
parent | Bump (diff) | |
download | historical-60807953651fe4951a3971da10a879589859e604.tar.gz historical-60807953651fe4951a3971da10a879589859e604.tar.bz2 historical-60807953651fe4951a3971da10a879589859e604.zip |
Initial import into portage tree (fixes bug #282203).
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/qrupdate/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/qrupdate/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch | 24 | ||||
-rw-r--r-- | sci-libs/qrupdate/metadata.xml | 8 | ||||
-rw-r--r-- | sci-libs/qrupdate/qrupdate-1.0.1.ebuild | 48 |
5 files changed, 95 insertions, 0 deletions
diff --git a/sci-libs/qrupdate/ChangeLog b/sci-libs/qrupdate/ChangeLog new file mode 100644 index 000000000000..e8b870acc9d3 --- /dev/null +++ b/sci-libs/qrupdate/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-libs/qrupdate +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/qrupdate/ChangeLog,v 1.1 2009/09/11 13:33:34 markusle Exp $ + +*qrupdate-1.0.1 (11 Sep 2009) + + 11 Sep 2009; Markus Dittrich <markusle@gentoo.org> +qrupdate-1.0.1.ebuild, + +files/qrupdate-1.0.1-makefile.patch, +metadata.xml: + Initial import into portage tree (fixes bug #282203). + diff --git a/sci-libs/qrupdate/Manifest b/sci-libs/qrupdate/Manifest new file mode 100644 index 000000000000..1f08acdc9d9f --- /dev/null +++ b/sci-libs/qrupdate/Manifest @@ -0,0 +1,5 @@ +AUX qrupdate-1.0.1-makefile.patch 806 RMD160 24fa32017a2b05a5e1f2a410f7e44afeddc834c1 SHA1 92ea35b6c4b441a0e77c8488184ada69d04d71be SHA256 0933615553070d1b8705324c0a9c0279164e759409650eaaef5b5983a4822987 +DIST qrupdate-1.0.1.tar.gz 42179 RMD160 d1f120ae97d840bf7b932c7d18abb54360d7d1f6 SHA1 679aa98ff823332ead25b5c5c9c01210155a510d SHA256 45ba0b4e6b15236a219b5b380e15fc9acfe6760a9ca5e53484de9b534969ba0d +EBUILD qrupdate-1.0.1.ebuild 1164 RMD160 6028a30cad9cf4e70246a73752ec2e700d098577 SHA1 6b5169ee06e1de40e2b2f3862d0d5019f0068727 SHA256 c592092103082793460af4f3043511532d0d5a6a3e98a88e69d6d529d3eeb161 +MISC ChangeLog 429 RMD160 93b0006adb347c05fcadd2010af8f2b5f7fb81e6 SHA1 d41ca0b42c642eaf9b48dee741278720183d5a21 SHA256 d1d7648e89be9557dcfd328e1cc92a9a0b9e8100b2a2ab2f5f4319cfed63dcf4 +MISC metadata.xml 279 RMD160 59bf94f0890a53e2d8a8fcf42fc1c70011ddfff0 SHA1 0827e8ffae3dcd740b8e63a571a311bdf2342911 SHA256 3920e5ddce75e4dc97be39228565444cf403f174839d8e2f4acd1bd02a83c318 diff --git a/sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch b/sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch new file mode 100644 index 000000000000..fa8925fd8bb6 --- /dev/null +++ b/sci-libs/qrupdate/files/qrupdate-1.0.1-makefile.patch @@ -0,0 +1,24 @@ +diff -Naur qrupdate-1.0.1/Makefile qrupdate-1.0.1.new/Makefile +--- qrupdate-1.0.1/Makefile 2009-02-06 04:12:00.000000000 -0500 ++++ qrupdate-1.0.1.new/Makefile 2009-09-10 09:55:32.000000000 -0400 +@@ -34,7 +34,7 @@ + lib: + make -C src/ lib + solib: +- make -C src/ solib ++ +make -C src/ solib + test: lib + make -C test/ + +diff -Naur qrupdate-1.0.1/src/Makefile qrupdate-1.0.1.new/src/Makefile +--- qrupdate-1.0.1/src/Makefile 2009-02-06 04:12:50.000000000 -0500 ++++ qrupdate-1.0.1.new/src/Makefile 2009-09-10 09:49:29.000000000 -0400 +@@ -40,7 +40,7 @@ + ar -cr $@ $(OBJS) + + ../libqrupdate.so: $(OBJS) +- $(FC) $(FFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \ ++ $(FC) $(FFLAGS) $(LDFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \ + $(BLAS) $(LAPACK) + + $(OBJS): %.o: %.f diff --git a/sci-libs/qrupdate/metadata.xml b/sci-libs/qrupdate/metadata.xml new file mode 100644 index 000000000000..a8bc30434eab --- /dev/null +++ b/sci-libs/qrupdate/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + qrupdate is a library for fast updating of qr and cholesky decompositions. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/qrupdate/qrupdate-1.0.1.ebuild b/sci-libs/qrupdate/qrupdate-1.0.1.ebuild new file mode 100644 index 000000000000..5e24236adb1a --- /dev/null +++ b/sci-libs/qrupdate/qrupdate-1.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/qrupdate/qrupdate-1.0.1.ebuild,v 1.1 2009/09/11 13:33:34 markusle Exp $ + +EAPI="2" + +inherit eutils fortran + +DESCRIPTION="A library for fast updating of QR and Cholesky decompositions" +HOMEPAGE="http://sourceforge.net/projects/qrupdate" +SRC_URI="mirror://sourceforge/qrupdate/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="virtual/blas + virtual/lapack" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +FORTRAN="gfortran ifc g77" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + + local BLAS_LIBS="$(pkg-config --libs blas)" + local LAPACK_LIBS="$(pkg-config --libs lapack)" + + sed -i Makeconf \ + -e "s:gfortran:${FORTRANC}:g" \ + -e "s:FFLAGS=.*:FFLAGS=${FFLAGS}:" \ + -e "s:BLAS=.*:BLAS=${BLAS_LIBS}:" \ + -e "s:LAPACK=.*:LAPACK=${LAPACK_LIBS}:" \ + || die "Failed to set up Makeconf" +} + +src_compile() { + emake solib || die "emake failed" +} + +src_install() { + dolib.so libqrupdate.so \ + || die "Failed to install libqrupdate.so" + + dodoc README ChangeLog || die "dodoc failed" +} |