diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-03-01 15:49:12 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-03-01 15:49:12 +0000 |
commit | 8c11fcba77777b9bb625e1c5fc3f44eb63ff8628 (patch) | |
tree | 13975e26e33432cf7779f857e5ce37613f12c863 /sci-visualization/zhu3d | |
parent | Version bump (bug #207045). (diff) | |
download | gentoo-2-8c11fcba77777b9bb625e1c5fc3f44eb63ff8628.tar.gz gentoo-2-8c11fcba77777b9bb625e1c5fc3f44eb63ff8628.tar.bz2 gentoo-2-8c11fcba77777b9bb625e1c5fc3f44eb63ff8628.zip |
Version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-visualization/zhu3d')
-rw-r--r-- | sci-visualization/zhu3d/ChangeLog | 7 | ||||
-rw-r--r-- | sci-visualization/zhu3d/zhu3d-3.4.4.ebuild | 55 |
2 files changed, 61 insertions, 1 deletions
diff --git a/sci-visualization/zhu3d/ChangeLog b/sci-visualization/zhu3d/ChangeLog index 9a1b2c58ea56..93e8359f102e 100644 --- a/sci-visualization/zhu3d/ChangeLog +++ b/sci-visualization/zhu3d/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-visualization/zhu3d # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.2 2008/02/15 10:03:22 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.3 2008/03/01 15:49:12 bicatali Exp $ + +*zhu3d-3.4.4 (01 Mar 2008) + + 01 Mar 2008; Sébastien Fabbro <bicatali@gentoo.org> +zhu3d-3.4.4.ebuild: + Version bump 15 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org> zhu3d-3.4.2.ebuild: Fixed desktop entry diff --git a/sci-visualization/zhu3d/zhu3d-3.4.4.ebuild b/sci-visualization/zhu3d/zhu3d-3.4.4.ebuild new file mode 100644 index 000000000000..41d0bc112a55 --- /dev/null +++ b/sci-visualization/zhu3d/zhu3d-3.4.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/zhu3d-3.4.4.ebuild,v 1.1 2008/03/01 15:49:12 bicatali Exp $ + +EAPI=1 + +inherit eutils qt4 + +DESCRIPTION="Interactive 3D mathematical function viewer" +HOMEPAGE="http://sourceforge.net/projects/zhu3d" +LICENSE="GPL-2" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +IUSE="" + +KEYWORDS="~amd64 ~x86" +SLOT="0" + +RDEPEND="$(qt4_min_version 4.0) + virtual/glu" +DEPEND="${RDEPEND}" + +QT4_BUILT_WITH_USE_CHECK="opengl" + +src_unpack() { + unpack ${A} + cd "${S}" + local datadir=/usr/share/${PN} + sed -i \ + -e "s:^SYSDIR=:SYSDIR=${datadir}/system:" \ + -e "s:^TEXDIR=:TEXDIR=${datadir}/textures:" \ + -e "s:^WORKDIR=:WORKDIR=${datadir}/work:" \ + -e "s:^DOCDIR=:WORKDIR=/usr/share/doc/${PF}/html:" \ + ${PN}.pri || die "sed zhu3d.pri failed" +} + +src_compile() { + eqmake4 || die "eqmake4 failed" + emake || die "emake failed" +} + +src_install() { + # not working: emake install INSTALL_ROOT="${D}" + dobin zhu3d || die + + dodoc {readme,src/changelog}.txt || die + dohtml doc/* || die + + insinto /usr/share/${PN} + doins -r work system || die + + doicon system/icons/${PN}.png || die + make_desktop_entry ${PN} Zhu3D ${PN} \ + "Science;Math;Qt" +} |