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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Oct 11 15:04:58 2012 UTC (20 months, 4 weeks ago) by blueness
Branch: MAIN
Changes since 1.7: +2 -2 lines
stable ppc ppc64, bug #430370

(Portage version: 2.1.11.9/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-r1.ebuild,v 1.7 2012/09/22 23:26:51 blueness Exp $
4
5 EAPI="4"
6
7 inherit base linux-info multilib
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 ppc ppc64 x86"
16 IUSE="static-libs"
17
18 DEPEND="dev-libs/libnl:1.1
19 >=sys-kernel/linux-headers-2.6.34
20 net-wireless/wpa_supplicant[wimax]"
21 RDEPEND="${DEPEND}
22 net-wireless/wimax-tools"
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 use static-libs || find "${D}" -name '*.*a' -exec rm {} +
42 }

  ViewVC Help
Powered by ViewVC 1.1.20