blob: 0288719cd424b9be813013b023e8e13a29ebe62c (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/macchanger/macchanger-1.7.0.ebuild,v 1.2 2014/07/13 13:23:17 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="https://github.com/alobbs/macchanger"
SRC_URI="https://github.com/alobbs/macchanger/releases/download/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
SLOT="0"
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
}
|