summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Mavrinac <mavrinac@gmail.com>2008-10-07 12:09:54 -0400
committerAaron Mavrinac <mavrinac@gmail.com>2008-10-07 12:09:54 -0400
commit0c477a489d3a79019ae2b3d5de23d0ee64c2487c (patch)
treeb81f1ec73146bdebbe2b6262ece9f0d3745eaf3c /sci-libs
parentInitial commit. (diff)
downloadezod-0c477a489d3a79019ae2b3d5de23d0ee64c2487c.tar.gz
ezod-0c477a489d3a79019ae2b3d5de23d0ee64c2487c.tar.bz2
ezod-0c477a489d3a79019ae2b3d5de23d0ee64c2487c.zip
Initial import of sci-libs/gandalf ebuild.
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/gandalf/ChangeLog8
-rw-r--r--sci-libs/gandalf/Manifest5
-rw-r--r--sci-libs/gandalf/files/digest-gandalf-1.63
-rw-r--r--sci-libs/gandalf/files/gandalf-1.6-destdir.patch13
-rw-r--r--sci-libs/gandalf/gandalf-1.6.ebuild55
-rw-r--r--sci-libs/gandalf/metadata.xml9
6 files changed, 93 insertions, 0 deletions
diff --git a/sci-libs/gandalf/ChangeLog b/sci-libs/gandalf/ChangeLog
new file mode 100644
index 0000000..64ed578
--- /dev/null
+++ b/sci-libs/gandalf/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for sci-libs/gandalf
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*gandalf-1.6 (07 Oct 2008)
+
+ 07 Oct 2008; Aaron Mavrinac <mavrinac@gmail.com> gandalf-1.6.ebuild:
+ Initial import
diff --git a/sci-libs/gandalf/Manifest b/sci-libs/gandalf/Manifest
new file mode 100644
index 0000000..5ab70c6
--- /dev/null
+++ b/sci-libs/gandalf/Manifest
@@ -0,0 +1,5 @@
+AUX gandalf-1.6-destdir.patch 785 RMD160 d872cf4de289e9a7a6bf643085b8406c2ad5427a SHA1 aae55085db0b1aff9d698743d946772803308b0e SHA256 4848323251d5bcd45e5034778269923eacce03ec77f34027b32d17e8d65bec33
+DIST gandalf.1.6.tar.gz 6731606 RMD160 8a986ffc7f1230cf9390982e583772f3ce0de697 SHA1 8e75dc0f96b47fa808b5f0bd70f5aed5b07fcb3c SHA256 2ad526966623e67637c4c7c7ca10b8b096f9c9c1d5727439b799aaea480e4d83
+EBUILD gandalf-1.6.ebuild 1224 RMD160 31cadd28ce3622c50c3ab81c0d8291f6fccb9d9f SHA1 6621197eeafaf1cb58b5202c3f6858d88a7e3b05 SHA256 7b1ea17b268ca733853562e328cc4bc332ef3c7d799deb03ef66eb53053ced74
+MISC ChangeLog 234 RMD160 0a98ce3c637a10fc23c2915e868dfa2e2713b045 SHA1 2012b066e671f4bd083d153ebd09809c42f5bae0 SHA256 b2c38183097f60678dd8ad6b24f523d5ec401767c157477cc707b9335c584f14
+MISC metadata.xml 455 RMD160 3e4b25edca7802efaa1a13274f081c7eb98e934e SHA1 edae07c14684f479881fdbb868eedf2d8daa0f0b SHA256 5a3d64a57aaf31f971a46e46596458d959b332733bb30c16f2f07c7f38413a80
diff --git a/sci-libs/gandalf/files/digest-gandalf-1.6 b/sci-libs/gandalf/files/digest-gandalf-1.6
new file mode 100644
index 0000000..3fed717
--- /dev/null
+++ b/sci-libs/gandalf/files/digest-gandalf-1.6
@@ -0,0 +1,3 @@
+MD5 ca1816287a51837bcc23274206a9b470 gandalf.1.6.tar.gz 6731606
+RMD160 8a986ffc7f1230cf9390982e583772f3ce0de697 gandalf.1.6.tar.gz 6731606
+SHA256 2ad526966623e67637c4c7c7ca10b8b096f9c9c1d5727439b799aaea480e4d83 gandalf.1.6.tar.gz 6731606
diff --git a/sci-libs/gandalf/files/gandalf-1.6-destdir.patch b/sci-libs/gandalf/files/gandalf-1.6-destdir.patch
new file mode 100644
index 0000000..4e8e454
--- /dev/null
+++ b/sci-libs/gandalf/files/gandalf-1.6-destdir.patch
@@ -0,0 +1,13 @@
+--- make.targets.orig 2007-10-30 20:14:07.000000000 -0400
++++ make.targets 2007-10-30 23:53:29.000000000 -0400
+@@ -16,8 +16,8 @@
+ $(INSTALL) -m 644 $(HFILES) $(EXTRA_HFILES) $(includedir)/gandalf/$(PACKAGE)
+
+ installsubh:: ../$(SUBPACKAGE).h
+- if [ ! -d $(includedir)/gandalf/$(PACKAGE)/$(SUBPACKAGE) ]; then mkdir $(includedir)/gandalf/$(PACKAGE)/$(SUBPACKAGE); fi
+- $(INSTALL) -m 644 $(HFILES) $(EXTRA_HFILES) $(includedir)/gandalf/$(PACKAGE)/$(SUBPACKAGE)
++ if [ ! -d $(DESTDIR)$(includedir)/gandalf/$(PACKAGE)/$(SUBPACKAGE) ]; then mkdir $(DESTDIR)$(includedir)/gandalf/$(PACKAGE)/$(SUBPACKAGE); fi
++ $(INSTALL) -m 644 $(HFILES) $(EXTRA_HFILES) $(DESTDIR)$(includedir)/gandalf/$(PACKAGE)/$(SUBPACKAGE)
+
+ docsource:: $(CFILES) $(HFILES)
+ ../preprocess ../.. $(CFILES) $(HFILES)
diff --git a/sci-libs/gandalf/gandalf-1.6.ebuild b/sci-libs/gandalf/gandalf-1.6.ebuild
new file mode 100644
index 0000000..5226a9f
--- /dev/null
+++ b/sci-libs/gandalf/gandalf-1.6.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Gandalf - The Fast Computer Vision and Numerical Library"
+HOMEPAGE="http://gandalf-library.sourceforge.net"
+SRC_URI="mirror://sourceforge/gandalf-library/gandalf.1.6.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~sparc ~x86"
+IUSE="doc lapack jpeg png tiff opengl glut"
+
+RDEPEND="lapack? ( virtual/lapack )
+ jpeg? ( media-libs/jpeg )
+ png? ( media-libs/libpng )
+ tiff? ( media-libs/tiff )
+ opengl? ( glut? ( virtual/glut ) )"
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ doc? ( app-doc/doxygen )"
+S="${WORKDIR}/gandalf"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-destdir.patch"
+}
+
+
+src_compile() {
+ econf \
+ $(use_with lapack) \
+ $(use_with jpeg) \
+ $(use_with png) \
+ $(use_with tiff) \
+ $(use_with opengl) \
+ $(use_with glut) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc CHANGELOG README
+ if use doc; then
+ cd "${S}"
+ emake docsource || die "doc generation failed"
+ doxygen doxyfile
+ ./postprocess
+ dohtml -r doc/reference/*
+ fi
+}
diff --git a/sci-libs/gandalf/metadata.xml b/sci-libs/gandalf/metadata.xml
new file mode 100644
index 0000000..a2c9866
--- /dev/null
+++ b/sci-libs/gandalf/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+Gandalf is a computer vision and numerical algorithm library, written in C, which allows you to develop new applications that will be portable and run FAST. Dynamically reconfigurable vector, matrix and image structures allow efficient use of memory.
+</longdescription>
+</pkgmetadata>
+