You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/volpack/volpack-1.0_p7.ebuild

40 lines
674 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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
}