summaryrefslogtreecommitdiff
blob: 469396d083b777ddb3a12c62c739f75760010086 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/macchanger/macchanger-1.3.0-r1.ebuild,v 1.4 2004/06/20 05:11:10 weeve Exp $

DESCRIPTION="Utility for viewing/manipulating the MAC address of network interfaces"
SRC_URI="http://savannah.nongnu.org/download/macc/${PN}.pkg/${PV}/${P}.tar.gz"
HOMEPAGE="http://www.alobbs.com/macchanger"

IUSE=""
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc"
SLOT="0"

DEPEND="virtual/glibc"

src_compile() {
	econf \
	--bindir=/sbin \
	--datadir=/share \
	|| die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
	dodir /usr/bin
	dosym /sbin/macchanger /usr/bin/macchanger
	dosym /share/macchanger /usr/share/macchanger
}