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/dev-util/build/build-0.3.9-r1.ebuild

31 lines
757 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit versionator
DESCRIPTION="A massively-parallel software build system implemented on top of GNU make"
HOMEPAGE="http://kolpackov.net/projects/build/"
SLOT="0"
SRC_URI="http://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="${D}/usr" install
dodoc documentation/[[:upper:]]*
dohtml -A xhtml documentation/*.{css,xhtml}
if use examples ; then
# preserving symlinks in the examples
cp -dpR examples "${D}/usr/share/doc/${PF}"
fi
}