/[gentoo-x86]/net-misc/vde/vde-2.1.6.ebuild
Gentoo

Contents of /net-misc/vde/vde-2.1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Oct 23 12:18:42 2011 UTC (7 years, 11 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Bump to eapi4 and make static libs optional, punt overshadowed as only consumer does not care about version.

(Portage version: 2.2.0_alpha70/cvs/Linux x86_64)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/vde/vde-2.1.6.ebuild,v 1.2 2007/02/12 22:58:21 peper Exp $
4
5 inherit eutils
6
7 MY_P="${PN}2-${PV}"
8 S="${WORKDIR}/${MY_P}"
9
10 DESCRIPTION="vde2 is a virtual distributed ethernet emulator for emulators like qemu, bochs, and uml."
11 SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2"
12 HOMEPAGE="http://vde.sourceforge.net/"
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17 DEPEND=""
18
19 src_install() {
20 emake DESTDIR="${D}" install || die "emake install failed"
21 newinitd "${FILESDIR}"/vde.init vde
22 newconfd "${FILESDIR}"/vde.conf vde
23
24 dodoc INSTALL README
25 }
26
27 pkg_postinst() {
28 # default group already used in kqemu
29 enewgroup qemu
30 einfo "To start vde automatically add it to the default runlevel:"
31 einfo "# rc-update add vde default"
32 einfo "You need to setup tap0 in /etc/conf.d/net"
33 einfo "To use it as an user be sure to set a group in /etc/conf.d/vde"
34 einfo "Users of the group can then run: $ vdeq qemu -sock /var/run/vde.ctl ..other opts"
35 }

  ViewVC Help
Powered by ViewVC 1.1.20