blob: ff5c171305a56b22bb07fa1cd770a36c6e08d03e (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/crda/crda-1.0.1-r1.ebuild,v 1.6 2009/03/18 15:06:02 chainsaw Exp $
inherit toolchain-funcs multilib
DESCRIPTION="Central Regulatory Domain Agent for wireless networks."
HOMEPAGE="http://wireless.kernel.org/en/developers/Regulatory"
SRC_URI="http://wireless.kernel.org/download/crda/${P}.tar.bz2"
LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE=""
RDEPEND="dev-libs/libnl
net-wireless/wireless-regdb"
DEPEND="${RDEPEND}
dev-libs/libgcrypt
dev-python/m2crypto"
src_unpack() {
unpack ${A}
##Make sure we install the rules where udev rules go...
sed -i -e "/^UDEV_RULE_DIR/s:lib:$(get_libdir):" "${S}"/Makefile || die \
"Makefile sed failed"
}
src_compile() {
emake CC="$(tc-getCC)" || die "Compilation failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}
|