Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/vde-1.5.8.ebuild,v 1.3 2005/07/14 13:07:13 swegener Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/vde-1.5.8.ebuild,v 1.3 2005/07/14 13:07:13 swegener Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils autotools |
6 |
|
6 |
|
7 |
DESCRIPTION="vde is a virtual distributed ethernet emulator for emulators like qemu, bochs, and uml." |
7 |
DESCRIPTION="vde is a virtual distributed ethernet emulator for emulators like qemu, bochs, and uml." |
8 |
SRC_URI="mirror://sourceforge/vde/${P}.tgz" |
8 |
SRC_URI="mirror://sourceforge/vde/${P}.tgz" |
Lines 13-32
Link Here
|
13 |
IUSE="" |
13 |
IUSE="" |
14 |
DEPEND="" |
14 |
DEPEND="" |
15 |
|
15 |
|
16 |
src_compile() { |
16 |
src_unpack() { |
17 |
pushd qemu |
17 |
unpack ${A} |
18 |
epatch ${FILESDIR}/vde-qemu-Makefile.in.diff |
18 |
|
19 |
popd |
19 |
cd "${S}" |
20 |
econf |
20 |
epatch "${FILESDIR}"/${P}-makefile.patch |
21 |
emake |
21 |
eautoreconf |
22 |
} |
22 |
} |
23 |
|
23 |
|
24 |
src_install() { |
24 |
src_install() { |
25 |
einstall |
25 |
make DESTDIR="${D}" install || die |
26 |
|
26 |
|
27 |
dodir /etc/init.d |
27 |
dodir /etc/init.d |
28 |
cp ${FILESDIR}/vde.init.d ${D}/etc/init.d/vde |
28 |
cp "${FILESDIR}"/vde.init.d "${D}"/etc/init.d/vde |
29 |
fperms a+x ${D}/etc/init.d/vde |
29 |
fperms a+x /etc/init.d/vde |
30 |
|
30 |
|
31 |
dodoc COPYING INSTALL PORTS README |
31 |
dodoc INSTALL README |
32 |
} |
32 |
} |