summaryrefslogtreecommitdiff
blob: 700c3f866444928b0e4088193078cc372a5b6d87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/vde-1.5.8.ebuild,v 1.4 2006/04/04 02:01:31 rphillips Exp $

inherit eutils autotools

DESCRIPTION="vde is a virtual distributed ethernet emulator for emulators like qemu, bochs, and uml."
SRC_URI="mirror://sourceforge/vde/${P}.tgz"
HOMEPAGE="http://vde.sourceforge.net/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE=""
DEPEND=""

src_unpack() {
	unpack ${A}

	cd "${S}"
	epatch "${FILESDIR}"/${P}-makefile.patch
	eautoreconf
}

src_install() {
	make DESTDIR="${D}" install || die

	dodir /etc/init.d
	cp "${FILESDIR}"/vde.init.d "${D}"/etc/init.d/vde
	fperms a+x /etc/init.d/vde

	dodoc INSTALL README
}