Changeset - dc769ef7eb51
[Not reviewed]
default
0 0 4
Nathan Brink (binki) - 15 years ago 2010-01-17 18:17:33
ohnobinki@ohnopublishing.net
dev-util/build: New ebuild for bug 301247, seed stolen from funtoo
4 files changed with 69 insertions and 0 deletions:
0 comments (0 inline, 0 general)
dev-util/build/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-util/build
 
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: $
 

	
 
  17 Jan 2010; Nathan Phillip Brink (ohnobinki)
 
  <ohnobinki@ohnopublishing.net> +build-0.3.5.ebuild, +metadata.xml:
 
  New ebuild for bug 301247, seed stolen from funtoo
 

	
dev-util/build/Manifest
Show inline comments
 
new file 100644
 
DIST build-0.3.5.tar.bz2 65872 RMD160 df3b85caae99f1538d2c9c28eb210ed5b3255bb2 SHA1 7a2fa91cea87b97c80568f5fc076861365ebeb61 SHA256 bd18bafafeb6c861932b3a6e2dd2eb1a9a8f9f3f1972b8de1b776b0a8854a08d
 
EBUILD build-0.3.5.ebuild 1527 RMD160 8c04cb1d92080a74b0c230fba78ef3ec5917bdb1 SHA1 05a773ace4d6db05880ab17a5a1a653c3e0b3df9 SHA256 9c61b4467ea86e511dda8d73a331acad60961823b4a8afb5d6d1d9c9455e7b5e
 
MISC ChangeLog 286 RMD160 bb9b7b08ec6a6a2117b000092b3c5fc1281c5548 SHA1 b45c0b94a1bb41ac013dd771f966ca7ca0748ac6 SHA256 d690036d49be152238ae3d36a8d50e650293942d62ab544c1be08dcb7c7de95b
 
MISC metadata.xml 290 RMD160 477ae5b5f81ab27749d5e68e95bb3cde684ec753 SHA1 6c94a51c1738c49bdf08b92fc7e6583875f65781 SHA256 c1f650400a8fb43cc289484e44c1620b2f8addd8a8069e197efca20347ddcaf7
dev-util/build/build-0.3.5.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2010 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
EAPI=2
 

	
 
DESCRIPTION="A massively-parallel software build system implemented on top of GNU make"
 
HOMEPAGE="http://kolpackov.net/projects/build/"
 
SRC_URI="ftp://kolpackov.net/pub/projects/${PN}/${PV%.?}/${P}.tar.bz2"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="~amd64"
 
IUSE="doc examples"
 

	
 
src_prepare() {
 
	if use examples; then
 
		# fix examples to use installed build
 
		sed -i -e "s;^include.\*bootstrap.make\$;include build-${PV%.?}/bootstrap.make;" \
 
			examples/*/*/{*/,}build/bootstrap.make || die "patching examples failed"
 
		rm examples/cxx/hello/hello/build/import/libhello || die "preparing examples for installation failed"
 
	fi
 
	if use doc; then
 
		# separate HTML and text docs
 
		mkdir html || die "preparing docs failed"
 
		mv documentation/*.{css,xhtml} html/ || die "preparing docs failed"
 
	fi
 
}
 

	
 
src_install() {
 
	emake install_prefix="${D}/usr" install || die "emake install failed"
 

	
 
	dodoc NEWS README || die "dodoc failed"
 

	
 
	if use doc; then
 
		dohtml -A xhtml html/* || die "installing HTML docs failed"
 
		dodoc documentation/* || die "installing plaintext docs failed"
 
	fi
 

	
 
	if use examples; then
 
		local docdir=/usr/share/doc/${PF}
 
		insinto ${docdir}
 

	
 
		# preserve symlinks and avoid cp:
 
		doins -r examples || die "installing examples failed"
 
		dosym ../../../libhello/build/import/libhello ${docdir}/examples/cxx/hello/hello/build/import/libhello || die "repairing examples symlink failed"
 
	fi
 
}
dev-util/build/metadata.xml
Show inline comments
 
new file 100644
 
<?xml version="1.0" encoding="UTF-8"?>
 
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 
<pkgmetadata>
 
  <herd>no-herd</herd>
 
  <maintainer>
 
    <email>ohnobinki@ohnopublishing.net</email>
 
    <description>ohnobinki_overlay</description>
 
  </maintainer>
 
</pkgmetadata>
0 comments (0 inline, 0 general)