blob: 34f8c74ee56a90674831331cb46fde68f8794174 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/acx/acx-0.3.35.ebuild,v 1.3 2006/05/24 22:06:03 josejx Exp $
inherit linux-mod
DESCRIPTION="Driver for the ACX100 and ACX111 wireless chipset (CardBus, PCI, USB)"
HOMEPAGE="http://acx100.sourceforge.net/"
SRC_URI="http://acx100.erley.org/acx-20060215.tar.bz2"
LICENSE="GPL-2 as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
RDEPEND="net-wireless/wireless-tools
net-wireless/acx-firmware"
S=${WORKDIR}
MODULE_NAMES="acx(net:${S})"
CONFIG_CHECK="NET_RADIO FW_LOADER"
BUILD_TARGETS="modules"
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S}"
}
src_unpack() {
unpack ${A}
chmod ug+w . -R
sed -i 's:usr/share/acx:lib/firmware:' common.c || die "sed failed"
}
src_install() {
linux-mod_src_install
dodoc README
}
|