summaryrefslogtreecommitdiff
blob: d5ebc1b8dfc716b8b1b0f5af6d528f0df800093d (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit versionator

DESCRIPTION="A massively-parallel software build system implemented on top of GNU make"
HOMEPAGE="https://www.codesynthesis.com/projects/build/"
SLOT="0"
SRC_URI="https://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="examples"

DEPEND=""
RDEPEND="!dev-util/build:0.3"

src_install() {
	emake install_prefix="${ED%/}/usr" install

	HTML_DOCS=( documentation/*.{css,xhtml} )
	einstalldocs
	dodoc documentation/[[:upper:]]*

	if use examples; then
		dodoc -r examples
		docompress -x /usr/share/doc/${PF}/examples
	fi
}