# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/domi/domi-20060406-r1.ebuild,v 1.2 2006/05/19 12:09:27 chrb Exp $ inherit eutils DESCRIPTION="Scripts for building Xen domains" HOMEPAGE="http://www.bytesex.org" EXTRA_VERSION="104418" SRC_URI="http://dl.bytesex.org/cvs-snapshots/${P}-${EXTRA_VERSION}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="app-emulation/xen-tools app-arch/rpm sys-apps/parted sys-fs/lvm2" # there are some other depends we may need depending on the target system # these packages aren't in gentoo yet. feel free to submit ebuilds via bugzilla. # yum # kpartx # y2pmsh S=${WORKDIR}/${PN} src_unpack() { unpack ${A} sed -i -e 's:/dev/loop\$:/dev/loop/\$:' ${S}/domi } src_install() { einstall || die insinto /etc doins ${FILESDIR}/domi.conf || die }