| 1 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/domi/domi-20060816.ebuild,v 1.2 2008/10/05 17:43:22 bangert Exp $
|
| 4 |
|
| 5 |
inherit eutils
|
| 6 |
DESCRIPTION="Scripts for building Xen domains"
|
| 7 |
HOMEPAGE="http://www.bytesex.org"
|
| 8 |
EXTRA_VERSION="153213"
|
| 9 |
SRC_URI="http://dl.bytesex.org/cvs-snapshots/${P}-${EXTRA_VERSION}.tar.gz"
|
| 10 |
LICENSE="GPL-2"
|
| 11 |
SLOT="0"
|
| 12 |
KEYWORDS="~x86"
|
| 13 |
IUSE=""
|
| 14 |
DEPEND="app-emulation/xen-tools
|
| 15 |
app-arch/rpm
|
| 16 |
sys-block/parted
|
| 17 |
sys-apps/yum
|
| 18 |
sys-fs/lvm2
|
| 19 |
sys-fs/multipath-tools"
|
| 20 |
# there are some other depends we may need depending on the target system
|
| 21 |
# these packages aren't in gentoo yet. feel free to submit ebuilds via bugzilla.
|
| 22 |
# y2pmsh
|
| 23 |
RESTRICT="test"
|
| 24 |
|
| 25 |
S=${WORKDIR}/${PN}
|
| 26 |
|
| 27 |
src_unpack() {
|
| 28 |
unpack ${A}
|
| 29 |
sed -i -e 's:/dev/loop\$:/dev/loop/\$:' "${S}"/domi
|
| 30 |
cd "${S}"
|
| 31 |
epatch "${FILESDIR}"/fix_install_links.patch
|
| 32 |
}
|
| 33 |
|
| 34 |
src_install() {
|
| 35 |
einstall || die
|
| 36 |
insinto /etc
|
| 37 |
doins "${FILESDIR}"/domi.conf || die
|
| 38 |
}
|