diff options
author | Ned Ludd <solar@gentoo.org> | 2004-09-06 19:28:42 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-09-06 19:28:42 +0000 |
commit | ce625cd75056508d42fae70a46df48303ba0d69e (patch) | |
tree | faa43fd94e1e02379cb09323c3e394da5890559b /net-wireless/madwifi-tools/madwifi-tools-0.1_pre20040906.ebuild | |
parent | Stable on sparc (Manifest recommit) (diff) | |
download | gentoo-2-ce625cd75056508d42fae70a46df48303ba0d69e.tar.gz gentoo-2-ce625cd75056508d42fae70a46df48303ba0d69e.tar.bz2 gentoo-2-ce625cd75056508d42fae70a46df48303ba0d69e.zip |
initial commit of the madwifi-tools (broken out from the -driver) to the tree.
Diffstat (limited to 'net-wireless/madwifi-tools/madwifi-tools-0.1_pre20040906.ebuild')
-rw-r--r-- | net-wireless/madwifi-tools/madwifi-tools-0.1_pre20040906.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-wireless/madwifi-tools/madwifi-tools-0.1_pre20040906.ebuild b/net-wireless/madwifi-tools/madwifi-tools-0.1_pre20040906.ebuild new file mode 100644 index 000000000000..0a210c5bdc07 --- /dev/null +++ b/net-wireless/madwifi-tools/madwifi-tools-0.1_pre20040906.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/madwifi-tools-0.1_pre20040906.ebuild,v 1.1 2004/09/06 19:28:42 solar Exp $ + +# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi + +DESCRIPTION="Wireless tools for Atheros chipset a/b/g cards" +HOMEPAGE="http://madwifi.sourceforge.net/" + +SRC_URI="mirror://gentoo/${P/tools/driver}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~x86" +IUSE="" +DEPEND="" + +S=${WORKDIR} + + +src_compile() { + einfo "building tools..." + cd ${S}/tools || die "failed to chdir to ${S}/tools" + make clean || : + emake LDFLAGS="${CFLAGS} ${LDFLAGS}" || die "failed to build the driver tools" +} + +src_install() { + dodoc README COPYRIGHT + cd ${S}/tools + insinto /usr + for bin in 80211stats ath{chans,ctrl,key,stats}; do + [ -e ${bin} ] && dobin ${bin} + done +} |