diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2005-12-12 07:53:46 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2005-12-12 07:53:46 +0000 |
commit | ab45b16167a349ff839f61f04c3613eb5bf12b35 (patch) | |
tree | 537b439bb1d3564723a969ff9a17e6e7d70579d4 /net-analyzer/macchanger/macchanger-1.5.0-r1.ebuild | |
parent | Marked stable (diff) | |
download | gentoo-2-ab45b16167a349ff839f61f04c3613eb5bf12b35.tar.gz gentoo-2-ab45b16167a349ff839f61f04c3613eb5bf12b35.tar.bz2 gentoo-2-ab45b16167a349ff839f61f04c3613eb5bf12b35.zip |
Revision bump. New OUI entries.
(Portage version: 2.0.53)
Diffstat (limited to 'net-analyzer/macchanger/macchanger-1.5.0-r1.ebuild')
-rw-r--r-- | net-analyzer/macchanger/macchanger-1.5.0-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-analyzer/macchanger/macchanger-1.5.0-r1.ebuild b/net-analyzer/macchanger/macchanger-1.5.0-r1.ebuild new file mode 100644 index 000000000000..0eaa198936e1 --- /dev/null +++ b/net-analyzer/macchanger/macchanger-1.5.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/macchanger/macchanger-1.5.0-r1.ebuild,v 1.1 2005/12/12 07:53:46 robbat2 Exp $ + +DESCRIPTION="Utility for viewing/manipulating the MAC address of network interfaces" +OUI_DATE="20051212" +OUI_FILE="OUI.list-${OUI_DATE}" +HOMEPAGE="http://www.alobbs.com/macchanger" +SRC_URI="mirror://gnu/macchanger/${P}.tar.gz + mirror://gentoo/${OUI_FILE}.gz" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~amd64" +IUSE="" +SLOT="0" + +DEPEND="virtual/libc" + +src_unpack() { + unpack ${P}.tar.gz + zcat ${DISTDIR}/${OUI_FILE}.gz >${S}/data/OUI.list || die "Failed to update OUI list" +} + +src_compile() { + # Shared data is installed below /lib, see Bug #57046 + econf \ + --bindir=/sbin \ + --datadir=/lib \ + || die "configure failed" + emake || die "build failed" +} + +src_install() { + make DESTDIR="${D}" install || die "install failed" + + dodoc AUTHORS ChangeLog NEWS README + + dodir /usr/bin + dosym /sbin/macchanger /usr/bin/macchanger + dosym /lib/macchanger /usr/share/macchanger +} |