summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-08-21 15:47:10 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-08-21 15:47:10 +0000
commit5d95b430832c6625983d1575114148e9e370c250 (patch)
treef3406fb00124b5b092849513887dc5eb87f45869 /sci-libs/lapack-reference
parentmajor cleanup and new style pkg-config / virtuals (diff)
downloadhistorical-5d95b430832c6625983d1575114148e9e370c250.tar.gz
historical-5d95b430832c6625983d1575114148e9e370c250.tar.bz2
historical-5d95b430832c6625983d1575114148e9e370c250.zip
major cleanup, new autotools patch, and new style pkg-config / virtuals
Package-Manager: portage-2.1.2.11
Diffstat (limited to 'sci-libs/lapack-reference')
-rw-r--r--sci-libs/lapack-reference/ChangeLog13
-rw-r--r--sci-libs/lapack-reference/files/digest-lapack-reference-3.1.1-r13
-rw-r--r--sci-libs/lapack-reference/files/eselect.lapack.reference4
-rw-r--r--sci-libs/lapack-reference/files/lapack-reference-3.1.1-autotools.patch373
-rw-r--r--sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild78
-rw-r--r--sci-libs/lapack-reference/metadata.xml8
6 files changed, 478 insertions, 1 deletions
diff --git a/sci-libs/lapack-reference/ChangeLog b/sci-libs/lapack-reference/ChangeLog
index 4e6071531e4b..536f73b2c015 100644
--- a/sci-libs/lapack-reference/ChangeLog
+++ b/sci-libs/lapack-reference/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for sci-libs/lapack-reference
# Copyright 2004-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/ChangeLog,v 1.30 2007/07/31 16:43:27 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/ChangeLog,v 1.31 2007/08/21 15:47:10 bicatali Exp $
+
+*lapack-reference-3.1.1-r1 (21 Aug 2007)
+
+ 21 Aug 2007; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +files/lapack-reference-3.1.1-autotools.patch,
+ +files/eselect.lapack.reference, metadata.xml,
+ +lapack-reference-3.1.1-r1.ebuild:
+ New autotools patch to install pkg-config file and some cleanup. New eselect
+ file to add pkg-config. Added doc use flag to install generic docs, now
+ ready for new virtual style. Added longdescription in metadata.xml.
+ General cleanup.
25 Jul 2007; Markus Dittrich <markusle@gentoo.org>
+files/lapack-reference-3.1.1-test-fix.patch,
diff --git a/sci-libs/lapack-reference/files/digest-lapack-reference-3.1.1-r1 b/sci-libs/lapack-reference/files/digest-lapack-reference-3.1.1-r1
new file mode 100644
index 000000000000..2081b7b6870d
--- /dev/null
+++ b/sci-libs/lapack-reference/files/digest-lapack-reference-3.1.1-r1
@@ -0,0 +1,3 @@
+MD5 5feace3f4507a92ef822b2e0b50151d7 lapack-lite-3.1.1.tgz 5332509
+RMD160 d81baafd1f0f9859d9f75ac9b658f743544b5f5b lapack-lite-3.1.1.tgz 5332509
+SHA256 505a13272d0d71c45ea52be2de74b0562b234ea3ccf5160665c7a2ee74a58437 lapack-lite-3.1.1.tgz 5332509
diff --git a/sci-libs/lapack-reference/files/eselect.lapack.reference b/sci-libs/lapack-reference/files/eselect.lapack.reference
new file mode 100644
index 000000000000..fe1a777b2dc2
--- /dev/null
+++ b/sci-libs/lapack-reference/files/eselect.lapack.reference
@@ -0,0 +1,4 @@
+lapack/reference/liblapack.so /usr/@LIBDIR@/liblapack.so
+lapack/reference/liblapack.so.0 /usr/@LIBDIR@/liblapack.so.0
+lapack/reference/liblapack.a /usr/@LIBDIR@/liblapack.a
+../lapack/reference/lapack.pc /usr/@LIBDIR@/pkgconfig/lapack.pc
diff --git a/sci-libs/lapack-reference/files/lapack-reference-3.1.1-autotools.patch b/sci-libs/lapack-reference/files/lapack-reference-3.1.1-autotools.patch
new file mode 100644
index 000000000000..7df026709d24
--- /dev/null
+++ b/sci-libs/lapack-reference/files/lapack-reference-3.1.1-autotools.patch
@@ -0,0 +1,373 @@
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2007-08-14 10:28:36.000000000 +0100
+@@ -0,0 +1,26 @@
++AC_PREREQ(2.61)
++AC_INIT(lapack, 3.1.1, lapack@cs.utk.edu)
++AM_INIT_AUTOMAKE([foreign])
++
++AC_LANG(Fortran 77)
++AC_PROG_F77
++AC_PROG_LIBTOOL
++
++AC_F77_FUNC(sgemm)
++
++PKG_PROG_PKG_CONFIG
++if test -n "$PKG_CONFIG"; then
++ PKG_CHECK_MODULES([BLAS], [blas])
++else
++ AC_CHECK_LIB(blas, $sgemm)
++ BLAS_LIBS=-lblas
++ AC_SUBST(BLAS_LIBS)
++fi
++
++AC_ARG_VAR(NOOPT_FFLAGS, Fortran 77 compiler flags to use for unoptimized files)
++
++AC_CONFIG_FILES([Makefile
++ SRC/Makefile
++ INSTALL/Makefile
++ lapack.pc])
++AC_OUTPUT
+--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ Makefile.am 2007-08-14 11:39:34.000000000 +0100
+@@ -0,0 +1,6 @@
++SUBDIRS = INSTALL SRC
++
++pkgconfigdir = $(libdir)
++pkgconfig_DATA = lapack.pc
++
++EXTRA_DIST = README lapack.pc
+--- lapack.pc.in 1970-01-01 01:00:00.000000000 +0100
++++ lapack.pc.in 2007-08-17 11:39:19.000000000 +0100
+@@ -0,0 +1,11 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: @PACKAGE_NAME@
++Description: Linear Algebra PACKage FORTRAN 77 reference implementation
++Version: @PACKAGE_VERSION@
++Requires: blas
++URL: http://www.netlib.org/lapack/
++Libs: -llapack
+--- SRC/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ SRC/Makefile.am 2007-08-02 15:15:59.000000000 +0100
+@@ -0,0 +1,292 @@
++lib_LTLIBRARIES = \
++ liblapack.la
++
++noinst_LTLIBRARIES = \
++ liblapack-noopt.la
++
++ALLAUX_SOURCES = ilaenv.f ieeeck.f lsamen.f xerbla.f iparmq.f \
++ ../INSTALL/ilaver.f ../INSTALL/lsame.f
++
++SINGLE_NOOPT_SOURCES = \
++ slaruv.f ../INSTALL/slamch.f
++
++SINGLE_SOURCES = \
++ sbdsdc.f \
++ sbdsqr.f sdisna.f slabad.f slacpy.f sladiv.f slae2.f slaebz.f \
++ slaed0.f slaed1.f slaed2.f slaed3.f slaed4.f slaed5.f slaed6.f \
++ slaed7.f slaed8.f slaed9.f slaeda.f slaev2.f slagtf.f \
++ slagts.f slamrg.f slanst.f \
++ slapy2.f slapy3.f slarnv.f \
++ slarra.f slarrb.f slarrc.f slarrd.f slarre.f slarrf.f slarrj.f \
++ slarrk.f slarrr.f slaneg.f \
++ slartg.f slas2.f slascl.f \
++ slasd0.f slasd1.f slasd2.f slasd3.f slasd4.f slasd5.f slasd6.f \
++ slasd7.f slasd8.f slasda.f slasdq.f slasdt.f \
++ slaset.f slasq1.f slasq2.f slasq3.f slazq3.f slasq4.f slazq4.f slasq5.f slasq6.f \
++ slasr.f slasrt.f slassq.f slasv2.f spttrf.f sstebz.f sstedc.f \
++ ssteqr.f ssterf.f slaisnan.f sisnan.f \
++ ../INSTALL/second_INT_CPU_TIME.f
++
++DOUBLE_NOOPT_SOURCES = \
++ dlaruv.f ../INSTALL/dlamch.f
++
++DOUBLE_SOURCES = \
++ dbdsdc.f \
++ dbdsqr.f ddisna.f dlabad.f dlacpy.f dladiv.f dlae2.f dlaebz.f \
++ dlaed0.f dlaed1.f dlaed2.f dlaed3.f dlaed4.f dlaed5.f dlaed6.f \
++ dlaed7.f dlaed8.f dlaed9.f dlaeda.f dlaev2.f dlagtf.f \
++ dlagts.f dlamrg.f dlanst.f \
++ dlapy2.f dlapy3.f dlarnv.f \
++ dlarra.f dlarrb.f dlarrc.f dlarrd.f dlarre.f dlarrf.f dlarrj.f \
++ dlarrk.f dlarrr.f dlaneg.f \
++ dlartg.f dlas2.f dlascl.f \
++ dlasd0.f dlasd1.f dlasd2.f dlasd3.f dlasd4.f dlasd5.f dlasd6.f \
++ dlasd7.f dlasd8.f dlasda.f dlasdq.f dlasdt.f \
++ dlaset.f dlasq1.f dlasq2.f dlasq3.f dlazq3.f dlasq4.f dlazq4.f dlasq5.f dlasq6.f \
++ dlasr.f dlasrt.f dlassq.f dlasv2.f dpttrf.f dstebz.f dstedc.f \
++ dsteqr.f dsterf.f dlaisnan.f disnan.f \
++ ../INSTALL/dsecnd_INT_CPU_TIME.f
++
++S_SOURCES = \
++ sgbbrd.f sgbcon.f sgbequ.f sgbrfs.f sgbsv.f \
++ sgbsvx.f sgbtf2.f sgbtrf.f sgbtrs.f sgebak.f sgebal.f sgebd2.f \
++ sgebrd.f sgecon.f sgeequ.f sgees.f sgeesx.f sgeev.f sgeevx.f \
++ sgegs.f sgegv.f sgehd2.f sgehrd.f sgelq2.f sgelqf.f \
++ sgels.f sgelsd.f sgelss.f sgelsx.f sgelsy.f sgeql2.f sgeqlf.f \
++ sgeqp3.f sgeqpf.f sgeqr2.f sgeqrf.f sgerfs.f sgerq2.f sgerqf.f \
++ sgesc2.f sgesdd.f sgesv.f sgesvd.f sgesvx.f sgetc2.f sgetf2.f \
++ sgetrf.f sgetri.f \
++ sgetrs.f sggbak.f sggbal.f sgges.f sggesx.f sggev.f sggevx.f \
++ sggglm.f sgghrd.f sgglse.f sggqrf.f \
++ sggrqf.f sggsvd.f sggsvp.f sgtcon.f sgtrfs.f sgtsv.f \
++ sgtsvx.f sgttrf.f sgttrs.f sgtts2.f shgeqz.f \
++ shsein.f shseqr.f slabrd.f slacon.f slacn2.f \
++ slaein.f slaexc.f slag2.f slags2.f slagtm.f slagv2.f slahqr.f \
++ slahrd.f slahr2.f slaic1.f slaln2.f slals0.f slalsa.f slalsd.f \
++ slangb.f slange.f slangt.f slanhs.f slansb.f slansp.f \
++ slansy.f slantb.f slantp.f slantr.f slanv2.f \
++ slapll.f slapmt.f \
++ slaqgb.f slaqge.f slaqp2.f slaqps.f slaqsb.f slaqsp.f slaqsy.f \
++ slaqr0.f slaqr1.f slaqr2.f slaqr3.f slaqr4.f slaqr5.f \
++ slaqtr.f slar1v.f slar2v.f \
++ slarf.f slarfb.f slarfg.f slarft.f slarfx.f slargv.f \
++ slarrv.f slartv.f \
++ slarz.f slarzb.f slarzt.f slaswp.f slasy2.f slasyf.f \
++ slatbs.f slatdf.f slatps.f slatrd.f slatrs.f slatrz.f slatzm.f \
++ slauu2.f slauum.f sopgtr.f sopmtr.f sorg2l.f sorg2r.f \
++ sorgbr.f sorghr.f sorgl2.f sorglq.f sorgql.f sorgqr.f sorgr2.f \
++ sorgrq.f sorgtr.f sorm2l.f sorm2r.f \
++ sormbr.f sormhr.f sorml2.f sormlq.f sormql.f sormqr.f sormr2.f \
++ sormr3.f sormrq.f sormrz.f sormtr.f spbcon.f spbequ.f spbrfs.f \
++ spbstf.f spbsv.f spbsvx.f \
++ spbtf2.f spbtrf.f spbtrs.f spocon.f spoequ.f sporfs.f sposv.f \
++ sposvx.f spotf2.f spotrf.f spotri.f spotrs.f sppcon.f sppequ.f \
++ spprfs.f sppsv.f sppsvx.f spptrf.f spptri.f spptrs.f sptcon.f \
++ spteqr.f sptrfs.f sptsv.f sptsvx.f spttrs.f sptts2.f srscl.f \
++ ssbev.f ssbevd.f ssbevx.f ssbgst.f ssbgv.f ssbgvd.f ssbgvx.f \
++ ssbtrd.f sspcon.f sspev.f sspevd.f sspevx.f sspgst.f \
++ sspgv.f sspgvd.f sspgvx.f ssprfs.f sspsv.f sspsvx.f ssptrd.f \
++ ssptrf.f ssptri.f ssptrs.f sstegr.f sstein.f sstev.f sstevd.f sstevr.f \
++ sstevx.f ssycon.f ssyev.f ssyevd.f ssyevr.f ssyevx.f ssygs2.f \
++ ssygst.f ssygv.f ssygvd.f ssygvx.f ssyrfs.f ssysv.f ssysvx.f \
++ ssytd2.f ssytf2.f ssytrd.f ssytrf.f ssytri.f ssytrs.f stbcon.f \
++ stbrfs.f stbtrs.f stgevc.f stgex2.f stgexc.f stgsen.f \
++ stgsja.f stgsna.f stgsy2.f stgsyl.f stpcon.f stprfs.f stptri.f \
++ stptrs.f \
++ strcon.f strevc.f strexc.f strrfs.f strsen.f strsna.f strsyl.f \
++ strti2.f strtri.f strtrs.f stzrqf.f stzrzf.f sstemr.f
++
++C_SOURCES = \
++ cbdsqr.f cgbbrd.f cgbcon.f cgbequ.f cgbrfs.f cgbsv.f cgbsvx.f \
++ cgbtf2.f cgbtrf.f cgbtrs.f cgebak.f cgebal.f cgebd2.f cgebrd.f \
++ cgecon.f cgeequ.f cgees.f cgeesx.f cgeev.f cgeevx.f \
++ cgegs.f cgegv.f cgehd2.f cgehrd.f cgelq2.f cgelqf.f \
++ cgels.f cgelsd.f cgelss.f cgelsx.f cgelsy.f cgeql2.f cgeqlf.f cgeqp3.f \
++ cgeqpf.f cgeqr2.f cgeqrf.f cgerfs.f cgerq2.f cgerqf.f \
++ cgesc2.f cgesdd.f cgesv.f cgesvd.f cgesvx.f cgetc2.f cgetf2.f cgetrf.f \
++ cgetri.f cgetrs.f \
++ cggbak.f cggbal.f cgges.f cggesx.f cggev.f cggevx.f cggglm.f \
++ cgghrd.f cgglse.f cggqrf.f cggrqf.f \
++ cggsvd.f cggsvp.f \
++ cgtcon.f cgtrfs.f cgtsv.f cgtsvx.f cgttrf.f cgttrs.f cgtts2.f chbev.f \
++ chbevd.f chbevx.f chbgst.f chbgv.f chbgvd.f chbgvx.f chbtrd.f \
++ checon.f cheev.f cheevd.f cheevr.f cheevx.f chegs2.f chegst.f \
++ chegv.f chegvd.f chegvx.f cherfs.f chesv.f chesvx.f chetd2.f \
++ chetf2.f chetrd.f \
++ chetrf.f chetri.f chetrs.f chgeqz.f chpcon.f chpev.f chpevd.f \
++ chpevx.f chpgst.f chpgv.f chpgvd.f chpgvx.f chprfs.f chpsv.f \
++ chpsvx.f \
++ chptrd.f chptrf.f chptri.f chptrs.f chsein.f chseqr.f clabrd.f \
++ clacgv.f clacon.f clacn2.f clacp2.f clacpy.f clacrm.f clacrt.f cladiv.f \
++ claed0.f claed7.f claed8.f \
++ claein.f claesy.f claev2.f clags2.f clagtm.f \
++ clahef.f clahqr.f \
++ clahrd.f clahr2.f claic1.f clals0.f clalsa.f clalsd.f clangb.f clange.f clangt.f \
++ clanhb.f clanhe.f \
++ clanhp.f clanhs.f clanht.f clansb.f clansp.f clansy.f clantb.f \
++ clantp.f clantr.f clapll.f clapmt.f clarcm.f claqgb.f claqge.f \
++ claqhb.f claqhe.f claqhp.f claqp2.f claqps.f claqsb.f \
++ claqr0.f claqr1.f claqr2.f claqr3.f claqr4.f claqr5.f \
++ claqsp.f claqsy.f clar1v.f clar2v.f clarf.f clarfb.f clarfg.f clarft.f \
++ clarfx.f clargv.f clarnv.f clarrv.f clartg.f clartv.f \
++ clarz.f clarzb.f clarzt.f clascl.f claset.f clasr.f classq.f \
++ claswp.f clasyf.f clatbs.f clatdf.f clatps.f clatrd.f clatrs.f clatrz.f \
++ clatzm.f clauu2.f clauum.f cpbcon.f cpbequ.f cpbrfs.f cpbstf.f cpbsv.f \
++ cpbsvx.f cpbtf2.f cpbtrf.f cpbtrs.f cpocon.f cpoequ.f cporfs.f \
++ cposv.f cposvx.f cpotf2.f cpotrf.f cpotri.f cpotrs.f cppcon.f \
++ cppequ.f cpprfs.f cppsv.f cppsvx.f cpptrf.f cpptri.f cpptrs.f \
++ cptcon.f cpteqr.f cptrfs.f cptsv.f cptsvx.f cpttrf.f cpttrs.f cptts2.f \
++ crot.f cspcon.f cspmv.f cspr.f csprfs.f cspsv.f \
++ cspsvx.f csptrf.f csptri.f csptrs.f csrscl.f cstedc.f \
++ cstegr.f cstein.f csteqr.f csycon.f csymv.f \
++ csyr.f csyrfs.f csysv.f csysvx.f csytf2.f csytrf.f csytri.f \
++ csytrs.f ctbcon.f ctbrfs.f ctbtrs.f ctgevc.f ctgex2.f \
++ ctgexc.f ctgsen.f ctgsja.f ctgsna.f ctgsy2.f ctgsyl.f ctpcon.f \
++ ctprfs.f ctptri.f \
++ ctptrs.f ctrcon.f ctrevc.f ctrexc.f ctrrfs.f ctrsen.f ctrsna.f \
++ ctrsyl.f ctrti2.f ctrtri.f ctrtrs.f ctzrqf.f ctzrzf.f cung2l.f cung2r.f \
++ cungbr.f cunghr.f cungl2.f cunglq.f cungql.f cungqr.f cungr2.f \
++ cungrq.f cungtr.f cunm2l.f cunm2r.f cunmbr.f cunmhr.f cunml2.f \
++ cunmlq.f cunmql.f cunmqr.f cunmr2.f cunmr3.f cunmrq.f cunmrz.f \
++ cunmtr.f cupgtr.f cupmtr.f icmax1.f scsum1.f cstemr.f
++
++D_SOURCES = \
++ dgbbrd.f dgbcon.f dgbequ.f dgbrfs.f dgbsv.f \
++ dgbsvx.f dgbtf2.f dgbtrf.f dgbtrs.f dgebak.f dgebal.f dgebd2.f \
++ dgebrd.f dgecon.f dgeequ.f dgees.f dgeesx.f dgeev.f dgeevx.f \
++ dgegs.f dgegv.f dgehd2.f dgehrd.f dgelq2.f dgelqf.f \
++ dgels.f dgelsd.f dgelss.f dgelsx.f dgelsy.f dgeql2.f dgeqlf.f \
++ dgeqp3.f dgeqpf.f dgeqr2.f dgeqrf.f dgerfs.f dgerq2.f dgerqf.f \
++ dgesc2.f dgesdd.f dgesv.f dgesvd.f dgesvx.f dgetc2.f dgetf2.f \
++ dgetrf.f dgetri.f \
++ dgetrs.f dggbak.f dggbal.f dgges.f dggesx.f dggev.f dggevx.f \
++ dggglm.f dgghrd.f dgglse.f dggqrf.f \
++ dggrqf.f dggsvd.f dggsvp.f dgtcon.f dgtrfs.f dgtsv.f \
++ dgtsvx.f dgttrf.f dgttrs.f dgtts2.f dhgeqz.f \
++ dhsein.f dhseqr.f dlabrd.f dlacon.f dlacn2.f \
++ dlaein.f dlaexc.f dlag2.f dlags2.f dlagtm.f dlagv2.f dlahqr.f \
++ dlahrd.f dlahr2.f dlaic1.f dlaln2.f dlals0.f dlalsa.f dlalsd.f \
++ dlangb.f dlange.f dlangt.f dlanhs.f dlansb.f dlansp.f \
++ dlansy.f dlantb.f dlantp.f dlantr.f dlanv2.f \
++ dlapll.f dlapmt.f \
++ dlaqgb.f dlaqge.f dlaqp2.f dlaqps.f dlaqsb.f dlaqsp.f dlaqsy.f \
++ dlaqr0.f dlaqr1.f dlaqr2.f dlaqr3.f dlaqr4.f dlaqr5.f \
++ dlaqtr.f dlar1v.f dlar2v.f \
++ dlarf.f dlarfb.f dlarfg.f dlarft.f dlarfx.f dlargv.f \
++ dlarrv.f dlartv.f \
++ dlarz.f dlarzb.f dlarzt.f dlaswp.f dlasy2.f dlasyf.f \
++ dlatbs.f dlatdf.f dlatps.f dlatrd.f dlatrs.f dlatrz.f dlatzm.f dlauu2.f \
++ dlauum.f dopgtr.f dopmtr.f dorg2l.f dorg2r.f \
++ dorgbr.f dorghr.f dorgl2.f dorglq.f dorgql.f dorgqr.f dorgr2.f \
++ dorgrq.f dorgtr.f dorm2l.f dorm2r.f \
++ dormbr.f dormhr.f dorml2.f dormlq.f dormql.f dormqr.f dormr2.f \
++ dormr3.f dormrq.f dormrz.f dormtr.f dpbcon.f dpbequ.f dpbrfs.f \
++ dpbstf.f dpbsv.f dpbsvx.f \
++ dpbtf2.f dpbtrf.f dpbtrs.f dpocon.f dpoequ.f dporfs.f dposv.f \
++ dposvx.f dpotf2.f dpotrf.f dpotri.f dpotrs.f dppcon.f dppequ.f \
++ dpprfs.f dppsv.f dppsvx.f dpptrf.f dpptri.f dpptrs.f dptcon.f \
++ dpteqr.f dptrfs.f dptsv.f dptsvx.f dpttrs.f dptts2.f drscl.f \
++ dsbev.f dsbevd.f dsbevx.f dsbgst.f dsbgv.f dsbgvd.f dsbgvx.f \
++ dsbtrd.f dspcon.f dspev.f dspevd.f dspevx.f dspgst.f \
++ dspgv.f dspgvd.f dspgvx.f dsprfs.f dspsv.f dspsvx.f dsptrd.f \
++ dsptrf.f dsptri.f dsptrs.f dstegr.f dstein.f dstev.f dstevd.f dstevr.f \
++ dstevx.f dsycon.f dsyev.f dsyevd.f dsyevr.f \
++ dsyevx.f dsygs2.f dsygst.f dsygv.f dsygvd.f dsygvx.f dsyrfs.f \
++ dsysv.f dsysvx.f \
++ dsytd2.f dsytf2.f dsytrd.f dsytrf.f dsytri.f dsytrs.f dtbcon.f \
++ dtbrfs.f dtbtrs.f dtgevc.f dtgex2.f dtgexc.f dtgsen.f \
++ dtgsja.f dtgsna.f dtgsy2.f dtgsyl.f dtpcon.f dtprfs.f dtptri.f \
++ dtptrs.f \
++ dtrcon.f dtrevc.f dtrexc.f dtrrfs.f dtrsen.f dtrsna.f dtrsyl.f \
++ dtrti2.f dtrtri.f dtrtrs.f dtzrqf.f dtzrzf.f dstemr.f \
++ dsgesv.f dlag2s.f slag2d.f
++
++Z_SOURCES = \
++ zbdsqr.f zgbbrd.f zgbcon.f zgbequ.f zgbrfs.f zgbsv.f zgbsvx.f \
++ zgbtf2.f zgbtrf.f zgbtrs.f zgebak.f zgebal.f zgebd2.f zgebrd.f \
++ zgecon.f zgeequ.f zgees.f zgeesx.f zgeev.f zgeevx.f \
++ zgegs.f zgegv.f zgehd2.f zgehrd.f zgelq2.f zgelqf.f \
++ zgels.f zgelsd.f zgelss.f zgelsx.f zgelsy.f zgeql2.f zgeqlf.f zgeqp3.f \
++ zgeqpf.f zgeqr2.f zgeqrf.f zgerfs.f zgerq2.f zgerqf.f \
++ zgesc2.f zgesdd.f zgesv.f zgesvd.f zgesvx.f zgetc2.f zgetf2.f zgetrf.f \
++ zgetri.f zgetrs.f \
++ zggbak.f zggbal.f zgges.f zggesx.f zggev.f zggevx.f zggglm.f \
++ zgghrd.f zgglse.f zggqrf.f zggrqf.f \
++ zggsvd.f zggsvp.f \
++ zgtcon.f zgtrfs.f zgtsv.f zgtsvx.f zgttrf.f zgttrs.f zgtts2.f zhbev.f \
++ zhbevd.f zhbevx.f zhbgst.f zhbgv.f zhbgvd.f zhbgvx.f zhbtrd.f \
++ zhecon.f zheev.f zheevd.f zheevr.f zheevx.f zhegs2.f zhegst.f \
++ zhegv.f zhegvd.f zhegvx.f zherfs.f zhesv.f zhesvx.f zhetd2.f \
++ zhetf2.f zhetrd.f \
++ zhetrf.f zhetri.f zhetrs.f zhgeqz.f zhpcon.f zhpev.f zhpevd.f \
++ zhpevx.f zhpgst.f zhpgv.f zhpgvd.f zhpgvx.f zhprfs.f zhpsv.f \
++ zhpsvx.f \
++ zhptrd.f zhptrf.f zhptri.f zhptrs.f zhsein.f zhseqr.f zlabrd.f \
++ zlacgv.f zlacon.f zlacn2.f zlacp2.f zlacpy.f zlacrm.f zlacrt.f zladiv.f \
++ zlaed0.f zlaed7.f zlaed8.f \
++ zlaein.f zlaesy.f zlaev2.f zlags2.f zlagtm.f \
++ zlahef.f zlahqr.f \
++ zlahrd.f zlahr2.f zlaic1.f zlals0.f zlalsa.f zlalsd.f zlangb.f zlange.f \
++ zlangt.f zlanhb.f \
++ zlanhe.f \
++ zlanhp.f zlanhs.f zlanht.f zlansb.f zlansp.f zlansy.f zlantb.f \
++ zlantp.f zlantr.f zlapll.f zlapmt.f zlaqgb.f zlaqge.f \
++ zlaqhb.f zlaqhe.f zlaqhp.f zlaqp2.f zlaqps.f zlaqsb.f \
++ zlaqr0.f zlaqr1.f zlaqr2.f zlaqr3.f zlaqr4.f zlaqr5.f \
++ zlaqsp.f zlaqsy.f zlar1v.f zlar2v.f zlarcm.f zlarf.f zlarfb.f \
++ zlarfg.f zlarft.f \
++ zlarfx.f zlargv.f zlarnv.f zlarrv.f zlartg.f zlartv.f \
++ zlarz.f zlarzb.f zlarzt.f zlascl.f zlaset.f zlasr.f \
++ zlassq.f zlaswp.f zlasyf.f \
++ zlatbs.f zlatdf.f zlatps.f zlatrd.f zlatrs.f zlatrz.f zlatzm.f zlauu2.f \
++ zlauum.f zpbcon.f zpbequ.f zpbrfs.f zpbstf.f zpbsv.f \
++ zpbsvx.f zpbtf2.f zpbtrf.f zpbtrs.f zpocon.f zpoequ.f zporfs.f \
++ zposv.f zposvx.f zpotf2.f zpotrf.f zpotri.f zpotrs.f zppcon.f \
++ zppequ.f zpprfs.f zppsv.f zppsvx.f zpptrf.f zpptri.f zpptrs.f \
++ zptcon.f zpteqr.f zptrfs.f zptsv.f zptsvx.f zpttrf.f zpttrs.f zptts2.f \
++ zrot.f zspcon.f zspmv.f zspr.f zsprfs.f zspsv.f \
++ zspsvx.f zsptrf.f zsptri.f zsptrs.f zdrscl.f zstedc.f \
++ zstegr.f zstein.f zsteqr.f zsycon.f zsymv.f \
++ zsyr.f zsyrfs.f zsysv.f zsysvx.f zsytf2.f zsytrf.f zsytri.f \
++ zsytrs.f ztbcon.f ztbrfs.f ztbtrs.f ztgevc.f ztgex2.f \
++ ztgexc.f ztgsen.f ztgsja.f ztgsna.f ztgsy2.f ztgsyl.f ztpcon.f \
++ ztprfs.f ztptri.f \
++ ztptrs.f ztrcon.f ztrevc.f ztrexc.f ztrrfs.f ztrsen.f ztrsna.f \
++ ztrsyl.f ztrti2.f ztrtri.f ztrtrs.f ztzrqf.f ztzrzf.f zung2l.f \
++ zung2r.f zungbr.f zunghr.f zungl2.f zunglq.f zungql.f zungqr.f zungr2.f \
++ zungrq.f zungtr.f zunm2l.f zunm2r.f zunmbr.f zunmhr.f zunml2.f \
++ zunmlq.f zunmql.f zunmqr.f zunmr2.f zunmr3.f zunmrq.f zunmrz.f \
++ zunmtr.f zupgtr.f \
++ zupmtr.f izmax1.f dzsum1.f zstemr.f \
++ zcgesv.f zlag2c.f clag2z.f
++
++liblapack_noopt_la_FFLAGS = \
++ $(NOOPT_FFLAGS)
++
++liblapack_noopt_la_SOURCES = \
++ $(SINGLE_NOOPT_SOURCES) \
++ $(DOUBLE_NOOPT_SOURCES)
++
++liblapack_la_LIBADD = liblapack-noopt.la @BLAS_LIBS@
++
++liblapack_la_SOURCES = \
++ $(ALLAUX_SOURCES) \
++ $(SINGLE_SOURCES) \
++ $(DOUBLE_SOURCES) \
++ $(S_SOURCES) \
++ $(C_SOURCES) \
++ $(D_SOURCES) \
++ $(Z_SOURCES)
++
++# Automake doesn't have a way to build with no optimization
++# See http://sources.redhat.com/ml/automake/2002-08/msg00082.html
++# This is the automake-produced rule with $(FFLAGS) removed
++liblapack_noopt_la-slaruv.lo: slaruv.f
++ $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(liblapack_noopt_la_FFLAGS) -c -o liblapack_noopt_la-slaruv.lo `test -f 'slaruv.f' || echo '$(srcdir)/'`slaruv.f
++liblapack_noopt_la-dlaruv.lo: dlaruv.f
++ $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(liblapack_noopt_la_FFLAGS) -c -o liblapack_noopt_la-dlaruv.lo `test -f 'dlaruv.f' || echo '$(srcdir)/'`dlaruv.f
++
++liblapack_noopt_la-slamch.lo: ../INSTALL/slamch.f
++ $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(liblapack_noopt_la_FFLAGS) -c -o liblapack_noopt_la-slamch.lo `test -f '../INSTALL/slamch.f' || echo '$(srcdir)/'`../INSTALL/slamch.f
++liblapack_noopt_la-dlamch.lo: ../INSTALL/dlamch.f
++ $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(liblapack_noopt_la_FFLAGS) -c -o liblapack_noopt_la-dlamch.lo `test -f '../INSTALL/dlamch.f' || echo '$(srcdir)/'`../INSTALL/dlamch.f
+--- INSTALL/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ INSTALL/Makefile.am 2007-08-02 11:43:17.000000000 +0100
+@@ -0,0 +1,23 @@
++check_PROGRAMS = \
++ testlsame \
++ testslamch \
++ testdlamch \
++ testsecond \
++ testdsecnd \
++ testieee
++
++TESTS = $(check_PROGRAMS)
++
++testlsame_SOURCES = lsame.f lsametst.f
++testslamch_SOURCES = slamch.f lsame.f slamchtst.f
++testdlamch_SOURCES = dlamch.f lsame.f dlamchtst.f
++testsecond_SOURCES = second_INT_CPU_TIME.f secondtst.f
++testdsecnd_SOURCES = dsecnd_INT_CPU_TIME.f dsecndtst.f
++testieee_SOURCES = tstiee.f
++
++EXTRA_DIST = \
++ lawn81.pdf \
++ lawn81.ps \
++ lawn81.tex \
++ org2.ps \
++ psfig.tex
diff --git a/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild b/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild
new file mode 100644
index 000000000000..1c6906e39c2f
--- /dev/null
+++ b/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild,v 1.1 2007/08/21 15:47:10 bicatali Exp $
+
+inherit eutils autotools flag-o-matic fortran multilib
+
+MyPN="${PN/-reference/}"
+
+DESCRIPTION="FORTRAN reference implementation of LAPACK Linear Algebra PACKage"
+LICENSE="BSD"
+HOMEPAGE="http://www.netlib.org/lapack/index.html"
+SRC_URI="http://www.netlib.org/lapack/${MyPN}-lite-${PV}.tgz"
+
+SLOT="0"
+IUSE="doc"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="virtual/blas
+ app-admin/eselect-lapack"
+
+RDEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/lapack-docs )"
+
+PROVIDE="virtual/lapack"
+
+S="${WORKDIR}/${MyPN}-lite-${PV}"
+
+pkg_setup() {
+ FORTRAN="g77 gfortran ifc"
+ fortran_pkg_setup
+ if [[ ${FORTRANC:0:2} == "if" ]]; then
+ ewarn "Using Intel Fortran at your own risk"
+ LDFLAGS="$(raw-ldflags)"
+ export NOOPT_FFLAGS=-O
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-autotools.patch
+ epatch "${FILESDIR}"/${P}-test-fix.patch
+ eautoreconf
+
+ # set up the testing routines
+ sed -e "s:g77:${FORTRANC}:" \
+ -e "s:-funroll-all-loops -O3:${FFLAGS} $(pkg-config --cflags blas):" \
+ -e "s:LOADOPTS =:LOADOPTS = ${LDFLAGS} $(pkg-config --cflags blas):" \
+ -e "s:../../blas\$(PLAT).a:$(pkg-config --libs blas):" \
+ -e "s:lapack\$(PLAT).a:SRC/.libs/liblapack.a:" \
+ make.inc.example > make.inc \
+ || die "Failed to set up make.inc"
+}
+
+src_compile() {
+ econf \
+ --libdir=/usr/$(get_libdir)/lapack/reference \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README
+ eselect lapack add $(get_libdir) "${FILESDIR}"/eselect.lapack.reference reference
+}
+
+src_test() {
+ cd TESTING/MATGEN && emake || die "Failed to create tmglib.a"
+ cd ../ && emake || die "lapack-reference tests failed."
+}
+
+pkg_postinst() {
+ [[ -z "$(eselect lapack show)" ]] && eselect lapack set reference
+ elog "To use LAPACK reference implementation, you have to issue (as root):"
+ elog "\n\teselect lapack set reference\n"
+}
diff --git a/sci-libs/lapack-reference/metadata.xml b/sci-libs/lapack-reference/metadata.xml
index b229aec85b8f..bce24defae41 100644
--- a/sci-libs/lapack-reference/metadata.xml
+++ b/sci-libs/lapack-reference/metadata.xml
@@ -2,4 +2,12 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
+<longdescription lang="en">
+LAPACK is a comprehensive library that does linear algebra
+operations including matrix inversions, least squared solutions to
+linear sets of equations, eigenvector analysis, singular value
+decomposition, etc. It is a very comprehensive and reputable package
+that has found extensive use in the scientific community.
+This package installs the reference FORTRAN 77 implementation from Netlib.
+</longdescription>
</pkgmetadata>