summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-03-13 08:30:12 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-03-13 08:30:12 +0000
commit834fedc21510bdee234c716d37cb04597acd504e (patch)
treea1c0d777578aaaf822f64c5c174496a6abdc1dd0 /dev-libs/atlas
parentremoved media-gfx/autotrace-0.28 entry, as that version was removed from port... (diff)
downloadhistorical-834fedc21510bdee234c716d37cb04597acd504e.tar.gz
historical-834fedc21510bdee234c716d37cb04597acd504e.tar.bz2
historical-834fedc21510bdee234c716d37cb04597acd504e.zip
new version and some cleanups
Diffstat (limited to 'dev-libs/atlas')
-rw-r--r--dev-libs/atlas/ChangeLog18
-rw-r--r--dev-libs/atlas/atlas-3.4.1.ebuild80
-rw-r--r--dev-libs/atlas/files/digest-atlas-3.4.11
3 files changed, 91 insertions, 8 deletions
diff --git a/dev-libs/atlas/ChangeLog b/dev-libs/atlas/ChangeLog
index fd085aabaf97..6ed507971f06 100644
--- a/dev-libs/atlas/ChangeLog
+++ b/dev-libs/atlas/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-libs/atlas
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/atlas/ChangeLog,v 1.5 2003/02/12 06:00:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/atlas/ChangeLog,v 1.6 2003/03/13 08:30:12 george Exp $
+
+*atlas-3.4.1 (12 Mar 2003)
+
+ 12 Mar 2003; George Shapovalov <george@gentoo.org> atlas-3.4.1.ebuild :
+ new version (#16218)
+ some cleanups, also removed Maintainer field from the ebuild and moved it here:
+ ebuild submitted by Nathaniel C. Domingo <nathaniel.domingo@up.edu.ph>
+ Also removed the "initial ChangeLog" block of text from the bottom of file,
+ as that only belongs to skel.ChangeLog (and contains no usefull inormation)
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
@@ -14,10 +23,3 @@
*atlas-3.2.1 (1 Feb 2002)
- 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
-
- Added initial ChangeLog which should be updated whenever the package is
- updated in any way. This changelog is targetted to users. This means that the
- comments should well explained and written in clean English. The details about
- writing correct changelogs are explained in the skel.ChangeLog file which you
- can find in the root directory of the portage repository.
diff --git a/dev-libs/atlas/atlas-3.4.1.ebuild b/dev-libs/atlas/atlas-3.4.1.ebuild
new file mode 100644
index 000000000000..b5f18ea52054
--- /dev/null
+++ b/dev-libs/atlas/atlas-3.4.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/atlas/atlas-3.4.1.ebuild,v 1.1 2003/03/13 08:30:12 george Exp $
+
+IUSE=""
+
+S="${WORKDIR}/ATLAS"
+DESCRIPTION="automatically tuned linear algebra software"
+SRC_URI="http://unc.dl.sourceforge.net/sourceforge/math-atlas/${PN}${PV}.tar.bz2"
+HOMEPAGE="http://math-atlas.sourceforge.net"
+
+KEYWORDS="~x86 ~sparc"
+LICENSE="BSD"
+#not sure if this is a best choice, as this is a lib,
+#but setting SLOT to 0, following previous version
+SLOT="0"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+ # create a file answer to be redirected to make
+ echo "023" > answer
+ echo "" >> answer
+ echo "" >> answer
+ echo "" >> answer
+ echo "" >> answer
+ # the architecture of the processor is determined from the CFLAGS
+ case $CFLAGS in
+ *athlon*)
+ echo "AMD Athlon Processor Identified"
+ echo 2 >> answer;;
+ *pentiumpro*)
+ echo "Pentium Pro Processor Identified"
+ echo 3 >> answer;;
+ *pentium2*)
+ echo "Pentium II Processor Identified"
+ echo 4 >> answer;;
+ *pentium3*)
+ echo "Pentium III Processor Identified"
+ echo 5 >> answer;;
+ *pentium4*)
+ echo "Pentium IV Processor Identified"
+ echo 6 >> answer;;
+ *)
+ echo "Unknown Processor"
+ echo 1 >> answer;;
+ esac
+ echo "" >> answer
+ echo "" >> answer
+ echo "" >> answer
+ echo "" >> answer
+ echo "" >> answer
+ echo "" >> answer
+ echo "" >> answer
+
+ make < answer || die
+ TMPSTR=$(ls Make.Linux*)
+ ATLAS_ARCH=${TMPSTR#'Make.'}
+ make install arch=${ATLAS_ARCH} || die
+}
+
+src_install () {
+ # almost completely copied from the atlas-3.2.1-r1 ebuild
+ cd ${S}/lib/${ATLAS_ARCH}
+
+ insinto /usr/lib
+ dolib.a libatlas.a libcblas.a libf77blas.a liblapack.a
+
+ cd ${S}/include
+ insinto /usr/include
+ doins cblas.h clapack.h
+
+ cd ${S}
+
+ dodoc README INSTALL.txt
+ dodoc doc/*.txt
+ insinto /usr/share/doc/${PN}-${PV}
+ doins doc/*.ps
+ dodoc bin/${ATLAS_ARCH}/INSTALL_LOG/SUMMARY.LOG
+}
diff --git a/dev-libs/atlas/files/digest-atlas-3.4.1 b/dev-libs/atlas/files/digest-atlas-3.4.1
new file mode 100644
index 000000000000..7008cc78d569
--- /dev/null
+++ b/dev-libs/atlas/files/digest-atlas-3.4.1
@@ -0,0 +1 @@
+MD5 f485e85c65e13d7ed24d92d79779b8d7 atlas3.4.1.tar.bz2 1586832