diff options
Diffstat (limited to 'media-libs/volpack')
-rw-r--r-- | media-libs/volpack/Manifest | 1 | ||||
-rw-r--r-- | media-libs/volpack/metadata.xml | 13 | ||||
-rw-r--r-- | media-libs/volpack/volpack-1.0_p7.ebuild | 40 |
3 files changed, 54 insertions, 0 deletions
diff --git a/media-libs/volpack/Manifest b/media-libs/volpack/Manifest new file mode 100644 index 000000000000..92b8d2b925b5 --- /dev/null +++ b/media-libs/volpack/Manifest @@ -0,0 +1 @@ +DIST volpack-1.0c7.tgz 1218492 SHA256 b82b143df479add2b3e18499537a79b1b0fa7e1cc88dff2e7481b4ee075719d2 diff --git a/media-libs/volpack/metadata.xml b/media-libs/volpack/metadata.xml new file mode 100644 index 000000000000..32643e2e2130 --- /dev/null +++ b/media-libs/volpack/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <upstream> + <remote-id type="sourceforge">amide</remote-id> + </upstream> +</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..16bfdfb5266a --- /dev/null +++ b/media-libs/volpack/volpack-1.0_p7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +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 static-libs" + +RDEPEND="" +DEPEND="${RDEPEND} + sys-devel/m4" + +S="${WORKDIR}/${MYP}" + +src_configure() { + econf $(use_enable static-libs static) +} + +src_compile() { + emake -j1 +} + +src_install() { + default + use doc && dodoc doc/*.pdf && dohtml doc/*.html + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi + +} |