# Copyright 2005-2006 Badpenguins.com # Distributed under the terms of the GNU General Public License v2 # $Header: $ # # Customization here # DESCRIPTION="Gentoo chroot buildhost utilities" ### ### No further customization needed - change only if you really know ### what you are doing! ### HOMEPAGE="http://badpenguins.com/source/gentoo-buildhoster/" SRC_URI="http://badpenguins.com/source/gentoo-buildhoster/${PN}-${PVR}.tar.gz" RESTRICT="nostrip maketest autoconfig nomirror" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc" IUSE="" DEPEND="" RDEPEND="" inherit eutils src_install() { # Create directories dodir /etc/buildhoster || die dodir /usr/lib/buildhoster/bin dodir /usr/lib/buildhoster/scripts dodir /usr/local/bin || die # copy over config file insinto /etc/buildhoster doins ${S}/etc/buildhoster.conf || die # copy over functions insinto /usr/lib/buildhoster doins ${S}/lib/buildhoster-functions.sh || die # copy over bins exeinto /usr/lib/buildhoster/bin doexe ${S}/bin/buildhost || die dosym /usr/lib/buildhoster/bin/buildhost /usr/local/bin/buildhost doexe ${S}/bin/refresh-overlays || die dosym /usr/lib/buildhoster/bin/refresh-overlays /usr/local/bin/refresh-overlays # copy over scripts exeinto /usr/lib/buildhoster/scripts doexe ${S}/scripts/buildhost-bootstrap.sh || die doexe ${S}/scripts/refresh-buildhost || die # copy over documentation dodoc ${S}/docs/sample-tutorial.txt || die dodoc ${S}/docs/readme.txt || die cp -a ${S}/samples ${D}/usr/share/doc/${PN}-${PV} || die } pkg_postinst() { einfo einfo einfo "/etc/buildhoster/buildhoster.conf must be configured before" einfo "using the buildhoster utilities" einfo einfo } ## ## this is needed to prevent the real prepall from running and ## moving around aclocal macros, messing with man pages, etc.. ## prepall() { return; } src_compile() { return; } prepalldocs() { return; }