blob: c2893078c91c9c39e7ba6dd71ee6381f202a3f1b (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/orinoco-fwutils/orinoco-fwutils-0.1.ebuild,v 1.3 2006/03/05 17:55:04 brix Exp $
DESCRIPTION="ORiNOCO IEEE 802.11 wireless LAN firmware utilities"
HOMEPAGE="http://www.nongnu.org/orinoco/"
SRC_URI="mirror://sourceforge/orinoco/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
RDEPEND="app-arch/unzip
dev-lang/perl
net-misc/wget
sys-apps/coreutils
sys-apps/sed"
src_unpack() {
unpack ${A}
# fix paths
for file in ${S}/get_*; do
sed -i \
-e "s:parse_:/usr/bin/parse_:g" \
-e "s:\./::g" \
${file}
done
}
src_install() {
dobin get_* parse_*
dodoc README
}
pkg_postinst() {
einfo
einfo "After fetching the firmware using these tools you must place it in"
einfo "/lib/firmware/ for the kernel driver to be able to load it."
einfo
}
|