aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2008-04-29 23:01:44 +0000
committergrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2008-04-29 23:01:44 +0000
commit78066f75486687067197067c56e6aad3752d2775 (patch)
tree57a40b316cb92bf35379299aeb2eece47e384f57
parentmathgl-1.6.2: Math Graphics Library (diff)
downloadsci-78066f75486687067197067c56e6aad3752d2775.tar.gz
sci-78066f75486687067197067c56e6aad3752d2775.tar.bz2
sci-78066f75486687067197067c56e6aad3752d2775.zip
udav-0.3.2: Universal Data Array Visualization
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@1033 32389bae-6d03-0410-99cf-db05cde120eb
-rw-r--r--sci-visualization/udav/ChangeLog8
-rw-r--r--sci-visualization/udav/Manifest5
-rw-r--r--sci-visualization/udav/files/udav-fltk.patch20
-rw-r--r--sci-visualization/udav/metadata.xml10
-rw-r--r--sci-visualization/udav/udav-0.3.2.ebuild34
5 files changed, 77 insertions, 0 deletions
diff --git a/sci-visualization/udav/ChangeLog b/sci-visualization/udav/ChangeLog
new file mode 100644
index 000000000..4c28118d7
--- /dev/null
+++ b/sci-visualization/udav/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-office/texmacs
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*udav-0.3.2 (29 Apr 2008)
+29 Apr 2008; Andrey Grozin <A.G.Grozin@inp.nsk.su>
+ +metadata.xml, +udav-0.3.2.ebuild:
+ Initial import.
diff --git a/sci-visualization/udav/Manifest b/sci-visualization/udav/Manifest
new file mode 100644
index 000000000..0bbcae881
--- /dev/null
+++ b/sci-visualization/udav/Manifest
@@ -0,0 +1,5 @@
+AUX udav-fltk.patch 1049 RMD160 0c5254d04fc0b1f47700837178053a6141949bee SHA1 e018e25869b256df1147e08c2ef62bf828d73cc3 SHA256 9e9540823a9242f18d8b9dbfd100b6331a367eb3342bec2d8f7fe073725f473e
+DIST udav-0.3.2.tgz 792044 RMD160 796ceb387896406511ea87c0e1e8aa55a0ef44c7 SHA1 597a190314920747e36d60d687ce51c70cbe0964 SHA256 b21b935bab264d018702cbb59dbde6e4ca0a0fc3840191c964b3c75c67b8ba91
+EBUILD udav-0.3.2.ebuild 747 RMD160 4656872a2681b50b8cf32d837075afeb114334dd SHA1 adb1edd07bf87ed22fbee83921a9a8248e799274 SHA256 8cc9d05c75efa91bbffb67c5853bbeec7356ed19219e7aa8f057882723dc40e2
+MISC ChangeLog 251 RMD160 9c1e4f257d789ff05a36dc4b4479f7ccaf350a9f SHA1 1f727f3e3c39e8a7481566e1fc911bc5eb15e4a8 SHA256 63662ba88cd002ad7144e80c8dbe008a4aae5a18b9df53e88a8cfe50ae7a7e84
+MISC metadata.xml 325 RMD160 bdc5fff2ae251a58a757532b6b9f566332f0fe4b SHA1 7823da33669f6ee889973afc5c2207f86ecd5447 SHA256 c5b8349fb607df04ecafdb2c05d4941d8b47c2ab31892a9a0ccb54b79298f75f
diff --git a/sci-visualization/udav/files/udav-fltk.patch b/sci-visualization/udav/files/udav-fltk.patch
new file mode 100644
index 000000000..96953820c
--- /dev/null
+++ b/sci-visualization/udav/files/udav-fltk.patch
@@ -0,0 +1,20 @@
+diff -U2 --recursive udav-0.3.2.orig/configure.ac udav-0.3.2/configure.ac
+--- udav-0.3.2.orig/configure.ac 2008-04-03 01:24:14.000000000 +0700
++++ udav-0.3.2/configure.ac 2008-04-30 13:43:19.000000000 +0700
+@@ -18,6 +18,6 @@
+ )
+
+-AC_CHECK_HEADERS([FL/Fl_Export.H],,[echo "Please install FLTK library"; exit])
+-AC_CHECK_LIB([fltk], [main], [FLTK_LIBS="-lfltk -lfltk_images" AC_SUBST(FLTK_LIBS)],
++AC_CHECK_HEADERS([fltk-1.1/FL/Fl_Export.H],,[echo "Please install FLTK library"; exit])
++AC_CHECK_LIB([fltk], [main], [FLTK_LIBS="-L/usr/lib/fltk-1.1 -lfltk -lfltk_images -lXft" AC_SUBST(FLTK_LIBS)],
+ [echo "Please install FLTK library (libfltk)"; exit],\
+ )
+diff -U2 --recursive udav-0.3.2.orig/src/Makefile.am udav-0.3.2/src/Makefile.am
+--- udav-0.3.2.orig/src/Makefile.am 2008-04-03 01:24:14.000000000 +0700
++++ udav-0.3.2/src/Makefile.am 2008-04-30 13:53:00.000000000 +0700
+@@ -8,3 +8,3 @@
+
+ udav_LDADD = $(MGL_LIBS) $(FLTK_LIBS)
+-udav_CPPFLAGS = -O2 -DDOC_DIR=\"$(docdir)/\"
++udav_CPPFLAGS = -I/usr/include/fltk-1.1 -DDOC_DIR=\"$(docdir)/\"
diff --git a/sci-visualization/udav/metadata.xml b/sci-visualization/udav/metadata.xml
new file mode 100644
index 000000000..52b9b1bdf
--- /dev/null
+++ b/sci-visualization/udav/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>A.G.Grozin@inp.nsk.su</email>
+ <name>Andrey Grozin</name>
+ </maintainer>
+ <longdescription>Universal Data Array Visualization</longdescription>
+</pkgmetadata>
diff --git a/sci-visualization/udav/udav-0.3.2.ebuild b/sci-visualization/udav/udav-0.3.2.ebuild
new file mode 100644
index 000000000..d179b2f80
--- /dev/null
+++ b/sci-visualization/udav/udav-0.3.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+inherit eutils autotools
+
+DESCRIPTION="Universal Data Array Visualization"
+HOMEPAGE="http://udav.sourceforge.net/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+DEPEND="sci-libs/mathgl x11-libs/fltk"
+
+#### Remove the following line when moving this ebuild to the main tree!
+RESTRICT=mirror
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-fltk.patch
+ eautoreconf
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README AUTHORS || die "dodoc failed"
+}