summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-11-23 23:46:18 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-11-23 23:46:18 +0000
commit8fd50b7b6985042d7628f1b6171597a2fdaa7332 (patch)
treec3fa47733d6a6925ddf5153f6dc0380f418d5d07 /media-libs/volpack
parentInstall the ELF binary along with the Linux kernel one (bug #291729). (diff)
downloadgentoo-2-8fd50b7b6985042d7628f1b6171597a2fdaa7332.tar.gz
gentoo-2-8fd50b7b6985042d7628f1b6171597a2fdaa7332.tar.bz2
gentoo-2-8fd50b7b6985042d7628f1b6171597a2fdaa7332.zip
Initial imporrt. Ebuild inspired from bug #119354. Thanks Jennifer and Ivan Havlicek for their work
(Portage version: 2.2_rc51/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/volpack')
-rw-r--r--media-libs/volpack/ChangeLog11
-rw-r--r--media-libs/volpack/metadata.xml10
-rw-r--r--media-libs/volpack/volpack-1.0_p7.ebuild36
3 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/volpack/ChangeLog b/media-libs/volpack/ChangeLog
new file mode 100644
index 000000000000..2eb47ef129ba
--- /dev/null
+++ b/media-libs/volpack/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/volpack
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/volpack/ChangeLog,v 1.1 2009/11/23 23:46:18 bicatali Exp $
+
+*volpack-1.0_p7 (24 Nov 2009)
+
+ 24 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ +volpack-1.0_p7.ebuild, +metadata.xml:
+ Initial imporrt. Ebuild inspired from bug #119354. Thanks Jennifer and
+ Ivan Havlicek for their work
+
diff --git a/media-libs/volpack/metadata.xml b/media-libs/volpack/metadata.xml
new file mode 100644
index 000000000000..ccf65f01c9a1
--- /dev/null
+++ b/media-libs/volpack/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>
+<longdescription lang="en">
+ The VolPack Volume Rendering Library is a portable software library for
+ volume rendering based on a new family of fast volume rendering
+ algorithms using a Shear-Warp Factorization (proceedings of SIGGRAPH94).
+</longdescription>
+</pkgmetadata>
diff --git a/media-libs/volpack/volpack-1.0_p7.ebuild b/media-libs/volpack/volpack-1.0_p7.ebuild
new file mode 100644
index 000000000000..30bd8a941cc2
--- /dev/null
+++ b/media-libs/volpack/volpack-1.0_p7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/volpack/volpack-1.0_p7.ebuild,v 1.1 2009/11/23 23:46:18 bicatali Exp $
+
+EAPI=2
+inherit eutils
+
+MYP=${PN}-${PV/_p/c}
+DESCRIPTION="Volume rendering library"
+HOMEPAGE="http://amide.sourceforge.net/packages.html"
+SRC_URI="mirror://sourceforge/amide/${MYP}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+S="${WORKDIR}/${MYP}"
+
+src_compile() {
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS README ChangeLog
+ insinto /usr/share/doc/${PF}/
+ if use doc; then
+ doins doc/*.pdf || die
+ dohtml doc/*.html || die
+ fi
+ if use examples; then
+ dodoc -r examples || die
+ fi
+
+}