You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
910 B
37 lines
910 B
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/macchanger/macchanger-1.6.0.ebuild,v 1.2 2013/03/26 16:16:32 jer Exp $
|
|
|
|
EAPI=5
|
|
|
|
DESCRIPTION="Utility for viewing/manipulating the MAC address of network interfaces"
|
|
OUI_DATE="20091029" # Generated with tools/IEEE_OUI.py in the source
|
|
OUI_FILE="OUI.list-${OUI_DATE}"
|
|
HOMEPAGE="http://www.alobbs.com/macchanger"
|
|
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
|
|
IUSE=""
|
|
SLOT="0"
|
|
|
|
src_unpack() {
|
|
unpack ${P}.tar.gz
|
|
}
|
|
|
|
src_configure() {
|
|
# Shared data is installed below /lib, see Bug #57046
|
|
econf \
|
|
--bindir=/sbin \
|
|
--datadir=/lib
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
dodoc AUTHORS ChangeLog NEWS README
|
|
|
|
dodir /usr/bin
|
|
dosym /sbin/macchanger /usr/bin/macchanger
|
|
dosym /lib/macchanger /usr/share/macchanger
|
|
}
|