From 78066f75486687067197067c56e6aad3752d2775 Mon Sep 17 00:00:00 2001 From: grozin Date: Tue, 29 Apr 2008 23:01:44 +0000 Subject: 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 --- sci-visualization/udav/ChangeLog | 8 +++++++ sci-visualization/udav/Manifest | 5 ++++ sci-visualization/udav/files/udav-fltk.patch | 20 ++++++++++++++++ sci-visualization/udav/metadata.xml | 10 ++++++++ sci-visualization/udav/udav-0.3.2.ebuild | 34 ++++++++++++++++++++++++++++ 5 files changed, 77 insertions(+) create mode 100644 sci-visualization/udav/ChangeLog create mode 100644 sci-visualization/udav/Manifest create mode 100644 sci-visualization/udav/files/udav-fltk.patch create mode 100644 sci-visualization/udav/metadata.xml create mode 100644 sci-visualization/udav/udav-0.3.2.ebuild 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 + +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 @@ + + + + sci + + A.G.Grozin@inp.nsk.su + Andrey Grozin + + Universal Data Array Visualization + 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" +} -- cgit v1.2.3-65-gdbad