blob: 30bd8a941cc2488befad38f825180179758ce97c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
}
|