summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2008-12-02 16:23:04 +0000
committerAndrey Grozin <grozin@gentoo.org>2008-12-02 16:23:04 +0000
commit0810bf16df2bbfbb3113b41de564bd7d8f3d945e (patch)
tree03c1d4fdd7726e5bc43307de7b800326eee4c041 /sci-libs
parentVersion bump (diff)
downloadhistorical-0810bf16df2bbfbb3113b41de564bd7d8f3d945e.tar.gz
historical-0810bf16df2bbfbb3113b41de564bd7d8f3d945e.tar.bz2
historical-0810bf16df2bbfbb3113b41de564bd7d8f3d945e.zip
Initial import, based on ebuild in the science overlay
Package-Manager: portage-2.2_rc16/cvs/Linux 2.6.26-tuxonice i686
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/mathgl/ChangeLog10
-rw-r--r--sci-libs/mathgl/Manifest4
-rw-r--r--sci-libs/mathgl/mathgl-1.8.ebuild49
-rw-r--r--sci-libs/mathgl/metadata.xml10
4 files changed, 73 insertions, 0 deletions
diff --git a/sci-libs/mathgl/ChangeLog b/sci-libs/mathgl/ChangeLog
new file mode 100644
index 000000000000..fe34ff2e90db
--- /dev/null
+++ b/sci-libs/mathgl/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/mathgl
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.1 2008/12/02 16:23:04 grozin Exp $
+
+*mathgl-1.8 (02 Dec 2008)
+
+ 02 Dec 2008; Andrey Grozin <grozin@gentoo.org> +metadata.xml,
+ +mathgl-1.8.ebuild:
+ Initial import, based on ebuild in the science overlay
+
diff --git a/sci-libs/mathgl/Manifest b/sci-libs/mathgl/Manifest
new file mode 100644
index 000000000000..5c93d4316f8c
--- /dev/null
+++ b/sci-libs/mathgl/Manifest
@@ -0,0 +1,4 @@
+DIST mathgl-1.8.tar.gz 4697872 RMD160 696f2e9beb56e9a5e6de48b4282af99692356dce SHA1 03f86cfec2f28349cb53b9f0ff5849465b1d32a8 SHA256 c06d695c66c4fad3e4e6aec56675efc2261173226853085422891e30be5033a8
+EBUILD mathgl-1.8.ebuild 1361 RMD160 076c18c47dbaaa89e2d0c29841c10ba0607dd411 SHA1 fb7c6ea6743efe8dedf2e40e78522c156ac88853 SHA256 161316cd772dccf5ad17b14e725d2bd0045a9e8bdd10f027e5fe9796c754e5f1
+MISC ChangeLog 374 RMD160 26f308d49758a6f7bb78582be491e51bf3a53010 SHA1 8729e44ce261de28e2cb7e157ee0c0c95777fbf4 SHA256 5776fe8c47b6f9e315658f350ac7795e19dbe190820679d14fe9f306e620c732
+MISC metadata.xml 308 RMD160 7e52afebc99b40a4ed056002307eccfc243c8e33 SHA1 d75607661597f90d142073e16cc715b94b63e123 SHA256 0fdf6bfe52b4d44ece7bbc62097f2e671f7ebb35ad52785140e21ab958e379b5
diff --git a/sci-libs/mathgl/mathgl-1.8.ebuild b/sci-libs/mathgl/mathgl-1.8.ebuild
new file mode 100644
index 000000000000..4b26641eef33
--- /dev/null
+++ b/sci-libs/mathgl/mathgl-1.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-1.8.ebuild,v 1.1 2008/12/02 16:23:04 grozin Exp $
+EAPI=2
+inherit flag-o-matic
+DESCRIPTION="Math Graphics Library"
+IUSE="doc fltk glut hdf5 jpeg python qt4 wxwindows"
+# octave bindings don't work for me :-(
+HOMEPAGE="http://mathgl.sourceforge.net/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+RDEPEND="sci-libs/gsl
+ media-libs/libpng
+ virtual/glu
+ glut? ( virtual/glut )
+ fltk? ( x11-libs/fltk )
+ jpeg? ( media-libs/jpeg )
+ hdf5? ( sci-libs/hdf5 )
+ qt4? ( x11-libs/qt-gui:4 )
+ wxwindows? ( x11-libs/wxGTK:2.8 )"
+
+DEPEND="${RDEPEND}
+ doc? ( app-text/texi2html virtual/texi2dvi )
+ python? ( dev-lang/swig[python] )"
+
+src_configure() {
+ # fltk example compiles only if we add
+ use fltk && append-cppflags $(fltk-config --cflags)
+ use fltk && append-ldflags $(fltk-config --ldflags)
+
+ econf --docdir="${ROOT}"usr/share/doc/${P} \
+ $(use_enable glut) \
+ $(use_enable qt4 qt) \
+ $(use_enable wxwindows wx) \
+ $(use_enable fltk) \
+ $(use_enable jpeg) \
+ $(use_enable hdf5) \
+ $(use_enable python) \
+ $(use_enable doc docs)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README AUTHORS || die "dodoc failed"
+}
diff --git a/sci-libs/mathgl/metadata.xml b/sci-libs/mathgl/metadata.xml
new file mode 100644
index 000000000000..858ebd719418
--- /dev/null
+++ b/sci-libs/mathgl/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>grozin@gentoo.org</email>
+ <name>Andrey Grozin</name>
+ </maintainer>
+ <longdescription>Math Graphics Library</longdescription>
+</pkgmetadata>