summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-02-05 13:25:23 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-02-05 13:25:23 +0000
commitc13f39d2f28b52700d98eff3d5350fe83a26e721 (patch)
treee2640701af35c7993eb50f6f4d5d2f37e1e29e67 /net-wireless/madwimax
parentStable for HPPA (bug #453122). (diff)
downloadgentoo-2-c13f39d2f28b52700d98eff3d5350fe83a26e721.tar.gz
gentoo-2-c13f39d2f28b52700d98eff3d5350fe83a26e721.tar.bz2
gentoo-2-c13f39d2f28b52700d98eff3d5350fe83a26e721.zip
Rename 60_madwimax.rules to 60-madwimax.rules and install it to correct udevdir using udev.eclass.
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'net-wireless/madwimax')
-rw-r--r--net-wireless/madwimax/ChangeLog11
-rw-r--r--net-wireless/madwimax/madwimax-0.1.1-r1.ebuild42
2 files changed, 51 insertions, 2 deletions
diff --git a/net-wireless/madwimax/ChangeLog b/net-wireless/madwimax/ChangeLog
index ba006be842a7..c51d0de29999 100644
--- a/net-wireless/madwimax/ChangeLog
+++ b/net-wireless/madwimax/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-wireless/madwimax
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwimax/ChangeLog,v 1.6 2012/11/18 11:22:23 pacho Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwimax/ChangeLog,v 1.7 2013/02/05 13:25:23 ssuominen Exp $
+
+*madwimax-0.1.1-r1 (05 Feb 2013)
+
+ 05 Feb 2013; Samuli Suominen <ssuominen@gentoo.org>
+ +madwimax-0.1.1-r1.ebuild:
+ Rename 60_madwimax.rules to 60-madwimax.rules and install it to correct
+ udevdir using udev.eclass.
18 Nov 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Drop mobile herd as talked in gentoo-dev ML
diff --git a/net-wireless/madwimax/madwimax-0.1.1-r1.ebuild b/net-wireless/madwimax/madwimax-0.1.1-r1.ebuild
new file mode 100644
index 000000000000..69507467ad59
--- /dev/null
+++ b/net-wireless/madwimax/madwimax-0.1.1-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwimax/madwimax-0.1.1-r1.ebuild,v 1.1 2013/02/05 13:25:23 ssuominen Exp $
+
+EAPI=5
+inherit autotools linux-info udev
+
+DESCRIPTION="A reverse-engineered Linux driver for mobile WiMAX devices based on Samsung CMC-730 chip."
+HOMEPAGE="http://code.google.com/p/madwimax/"
+SRC_URI="http://madwimax.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc"
+
+RDEPEND="virtual/libusb:1"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? (
+ app-text/asciidoc
+ app-text/docbook2X
+ )"
+
+CONFIG_CHECK="~TUN"
+
+src_prepare() {
+ sed -i -e "s:\(for name in docbook2\)x-man:\1man\.pl:" configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ use doc || myconf="--without-man-pages"
+ econf ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" udevrulesdir="$(get_udevdir)"/rules.d install
+ mv "${ED}/$(get_udevdir)"/rules.d/{z60_,60-}madwimax.rules || die
+ dodoc README
+}