/[gentoo-x86]/net-wireless/wimax/wimax-1.5.2.ebuild
Gentoo

Contents of /net-wireless/wimax/wimax-1.5.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Feb 25 17:13:18 2012 UTC (2 years, 10 months ago) by jer
Branch: MAIN
Changes since 1.2: +3 -3 lines
Remove dev-libs/nl version dependency.

(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-wireless/wimax/wimax-1.5.2.ebuild,v 1.2 2011/10/27 03:56:19 tetromino Exp $
4
5 EAPI="3"
6
7 inherit linux-info base autotools
8
9 DESCRIPTION="Intel WiMAX daemon used to interface to the hardware"
10 HOMEPAGE="http://www.linuxwimax.org/"
11 SRC_URI="http://www.linuxwimax.org/Download?action=AttachFile&do=get&target=${P}.tar.gz -> ${P}.tar.gz"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 DEPEND="dev-libs/libnl:1.1
19 >=sys-kernel/linux-headers-2.6.34"
20 RDEPEND="${DEPEND}
21 net-wireless/wimax-tools
22 net-wireless/wpa_supplicant[wimax]"
23
24 src_configure() {
25 econf \
26 --with-libwimaxll=/usr/$(get_libdir) \
27 --localstatedir=/var \
28 --with-i2400m=/usr || die "econf failed"
29 }
30
31 src_install() {
32 emake DESTDIR="${D}" install || die "Install failed"
33 doinitd "${FILESDIR}"/wimax || die "failed to place the init daemon"
34 sed -e "s:/usr/lib/libeap.so.0:/usr/$(get_libdir)/libeap.so.0:g" \
35 -e "s:<GetDeviceTraces>3</GetDeviceTraces>:<GetDeviceTraces>0</GetDeviceTraces>:g" \
36 -e "s:<OutputTarget>console</OutputTarget>:<OutputTarget>daemon</OutputTarget>:g" \
37 -e "s:<IPRenew>1</IPRenew>:<IPRenew>0</IPRenew>:g" \
38 -i "${D}/etc/wimax/config.xml" || die "Fixing config failed"
39 # Drop udev rusles for now
40 rm -rf "${D}/etc/udev"
41 }

  ViewVC Help
Powered by ViewVC 1.1.20