# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/wireless-tools-25-r1.ebuild,v 1.9 2005/01/16 00:00:27 brix Exp $ MY_P=wireless_tools.${PV} S=${WORKDIR}/${MY_P} DESCRIPTION="A collection of tools to configure wireless lan cards." SRC_URI="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/${MY_P}.tar.gz" HOMEPAGE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" KEYWORDS="x86 ~ppc ~sparc amd64" SLOT="0" LICENSE="GPL-2" DEPEND="virtual/libc" IUSE="" src_unpack() { unpack ${A} cd ${S} check_KV mv Makefile ${T} sed -e "s:# KERNEL_SRC:KERNEL_SRC:" \ ${T}/Makefile > Makefile } src_compile() { emake CFLAGS="$CFLAGS" WARN="" || die } src_install () { dosbin iwconfig iwgetid iwpriv iwlist iwspy dolib libiw.so.25 libiw.a doman iwconfig.8 iwlist.8 iwpriv.8 iwspy.8 dodoc CHANGELOG.h COPYING INSTALL PCMCIA.txt README }