summaryrefslogtreecommitdiff
blob: e55555706fa9762cce2068fe2fb34a9be252f9e9 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/wimax-tools/wimax-tools-1.4.3.ebuild,v 1.3 2010/07/26 22:41:10 alexxy Exp $

EAPI="3"

inherit linux-info

DESCRIPTION="Tools to use Intel's WiMax cards"
HOMEPAGE="http://www.linuxwimax.org"
SRC_URI="http://linuxwimax.org/Download?action=AttachFile&do=get&target=${P}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=sys-kernel/linux-headers-2.6.34
		x86? ( >=dev-libs/libnl-1.0 )
		amd64? ( >=app-emulation/emul-linux-x86-baselibs-20100611 )"
RDEPEND=""

pkg_setup() {
	use amd64 && multilib_toolchain_setup x86
	linux-info_pkg_setup
}

src_install() {
	emake DESTDIR="${D}" install || die "Install failed"
	dodir /usr/lib
	mv "${D}/usr/lib32/pkgconfig" "${D}/usr/lib/pkgconfig"
	dodoc README || die "Failed to find README"
}