blob: b6e4a36f46219c55c888598415d2084be16a98ff (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/wireless-tools-27_pre22.ebuild,v 1.5 2004/07/01 22:41:33 eradicator Exp $
MY_P=wireless_tools.${PV/_/\.}
S=${WORKDIR}/${MY_P/.pre22/}
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 ~amd64"
SLOT="0"
LICENSE="GPL-2"
DEPEND="virtual/libc"
RDEPEND="${DEPEND}"
IUSE="nls"
src_unpack() {
unpack ${A}
cd ${S}
check_KV
mv Makefile ${T}
sed -e "s:# KERNEL_SRC:KERNEL_SRC:" \
-e "s:^CFLAGS=:CFLAGS=${CFLAGS} :" \
${T}/Makefile > Makefile
}
src_compile() {
emake WARN="" || die
}
src_install () {
dosbin iwconfig iwevent iwgetid iwpriv iwlist iwspy ifrename
dolib libiw.so.27
insinto /usr/include/
doins iwlib.h
dosym /usr/lib/libiw.so.27 /usr/lib/libiw.so
doman {iwconfig,iwlist,iwpriv,iwspy,iwgetid,iwevent,ifrename}.8 \
wireless.7 iftab.5
if use nls; then
insinto /usr/share/man/fr/man8
doins {iwconfig,iwlist,iwpriv,iwspy,iwgetid,iwevent}.8
fi
dodoc CHANGELOG.h COPYING INSTALL HOTPLUG.txt PCMCIA.txt README
}
|