summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2010-03-29 21:13:54 +0000
committerAndrey Grozin <grozin@gentoo.org>2010-03-29 21:13:54 +0000
commitdd156d96f63badd0fa568f311388befea6e7b0cc (patch)
tree377333b330b62795dc716981e34e2f3ac589b990 /sci-visualization/udav/udav-0.6.3.ebuild
parentVersion bump (diff)
downloadhistorical-dd156d96f63badd0fa568f311388befea6e7b0cc.tar.gz
historical-dd156d96f63badd0fa568f311388befea6e7b0cc.tar.bz2
historical-dd156d96f63badd0fa568f311388befea6e7b0cc.zip
Version bump
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'sci-visualization/udav/udav-0.6.3.ebuild')
-rw-r--r--sci-visualization/udav/udav-0.6.3.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/sci-visualization/udav/udav-0.6.3.ebuild b/sci-visualization/udav/udav-0.6.3.ebuild
new file mode 100644
index 000000000000..50e2dd409a56
--- /dev/null
+++ b/sci-visualization/udav/udav-0.6.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/udav/udav-0.6.3.ebuild,v 1.1 2010/03/29 21:13:53 grozin Exp $
+
+EAPI=2
+inherit qt4 fdo-mime
+
+DESCRIPTION="Universal Data Array Visualization"
+HOMEPAGE="http://udav.sourceforge.net/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+RDEPEND=">=sci-libs/mathgl-1.10.2[qt4,hdf5]"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-pro.patch
+}
+
+src_compile() {
+ eqmake4
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die "emake install failed"
+
+ dosym /usr/share/icons/hicolor/64x64/apps/${PN}.png \
+ /usr/share/pixmaps/${PN}.png
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}