# 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" }