diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2005-08-16 22:37:10 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2005-08-16 22:37:10 +0000 |
commit | f1e65c4d0092dd255cae1dfcc54181e43c194af6 (patch) | |
tree | f47ccaf29cf2e942e691eceae8dfe3ee29ad3e52 /net-wireless/rt2400 | |
parent | version bump (diff) | |
download | gentoo-2-f1e65c4d0092dd255cae1dfcc54181e43c194af6.tar.gz gentoo-2-f1e65c4d0092dd255cae1dfcc54181e43c194af6.tar.bz2 gentoo-2-f1e65c4d0092dd255cae1dfcc54181e43c194af6.zip |
New ebuild thanks to james <italian_spike@hotmail.com> and Martin Mokrejs <mmokrejs@ribosome.natur.cuni.cz> in bug 84071
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-wireless/rt2400')
-rw-r--r-- | net-wireless/rt2400/ChangeLog | 11 | ||||
-rw-r--r-- | net-wireless/rt2400/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/rt2400/files/digest-rt2400-1.2.2_beta3 | 1 | ||||
-rw-r--r-- | net-wireless/rt2400/metadata.xml | 5 | ||||
-rw-r--r-- | net-wireless/rt2400/rt2400-1.2.2_beta3.ebuild | 63 |
5 files changed, 83 insertions, 0 deletions
diff --git a/net-wireless/rt2400/ChangeLog b/net-wireless/rt2400/ChangeLog new file mode 100644 index 000000000000..3d36d13e8c63 --- /dev/null +++ b/net-wireless/rt2400/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-wireless/rt2400 +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2400/ChangeLog,v 1.1 2005/08/16 22:37:10 genstef Exp $ + +*rt2400-1.2.2_beta3 (16 Aug 2005) + + 16 Aug 2005; Stefan Schweizer <genstef@gentoo.org> +metadata.xml, + +rt2400-1.2.2_beta3.ebuild: + New ebuild thanks to james <italian_spike@hotmail.com> and Martin Mokrejs + <mmokrejs@ribosome.natur.cuni.cz> in bug 84071 + diff --git a/net-wireless/rt2400/Manifest b/net-wireless/rt2400/Manifest new file mode 100644 index 000000000000..50be997acfae --- /dev/null +++ b/net-wireless/rt2400/Manifest @@ -0,0 +1,3 @@ +MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159 +MD5 7fb8e7de919dd0e2808d0fb36eae3118 rt2400-1.2.2_beta3.ebuild 1422 +MD5 31c6fab6e7c338ffc7f0ae273789b59c files/digest-rt2400-1.2.2_beta3 67 diff --git a/net-wireless/rt2400/files/digest-rt2400-1.2.2_beta3 b/net-wireless/rt2400/files/digest-rt2400-1.2.2_beta3 new file mode 100644 index 000000000000..d85847098f58 --- /dev/null +++ b/net-wireless/rt2400/files/digest-rt2400-1.2.2_beta3 @@ -0,0 +1 @@ +MD5 333bf6d7fa81a6d78c72aad6a48e9bc3 rt2400-1.2.2-b3.tar.gz 222661 diff --git a/net-wireless/rt2400/metadata.xml b/net-wireless/rt2400/metadata.xml new file mode 100644 index 000000000000..b27ff8eb4ed6 --- /dev/null +++ b/net-wireless/rt2400/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mobile</herd> +</pkgmetadata> diff --git a/net-wireless/rt2400/rt2400-1.2.2_beta3.ebuild b/net-wireless/rt2400/rt2400-1.2.2_beta3.ebuild new file mode 100644 index 000000000000..69febcf47e47 --- /dev/null +++ b/net-wireless/rt2400/rt2400-1.2.2_beta3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2400/rt2400-1.2.2_beta3.ebuild,v 1.1 2005/08/16 22:37:10 genstef Exp $ + +inherit eutils linux-mod kde-functions +set-qtdir 3 + +MY_P="${P/_beta/-b}" +DESCRIPTION="Driver for the RaLink RT2400 wireless chipset" +HOMEPAGE="http://rt2x00.serialmonkey.com" +SRC_URI="http://rt2x00.serialmonkey.com/${MY_P}.tar.gz" +LICENSE="GPL-2" + +KEYWORDS="~x86" +IUSE="qt" +DEPEND="net-wireless/wireless-tools + qt? ( =x11-libs/qt-3* )" + +S=${WORKDIR}/${MY_P} +MODULE_NAMES="rt2400(net:${S}/Module)" +CONFIG_CHECK="NET_RADIO BROKEN_ON_SMP" +SMP_ERROR="SMP Processors and Kernels are currently not supported" +MODULESD_RT2400_ALIASES=('ra? rt2400') + + +pkg_setup() { + linux-mod_pkg_setup + if use_m + then BUILD_PARAMS="-C ${KV_DIR} M=${S}/Module" + BUILD_TARGETS="modules" + else die "please use a kernel >=2.6.6" + fi +} + +src_compile() { + if use qt; then + cd ${S}/Utility + ${QTDIR}/bin/qmake -o Makefile raconfig2400.pro + emake || die "make Utilities failed" + fi + + linux-mod_src_compile +} + +src_install() { + linux-mod_src_install + + if use qt; then + dobin ${S}/Utility/RaConfig2400 + doicon Utility/ico/raconfig.xpm + make_desktop_entry RaConfig2400 "RaLink RT2400 Config" raconfig.xpm + fi + + dodoc Module/TESTING THANKS FAQ CHANGELOG +} + +pkg_postinst() { + linux-mod_pkg_postinst + + einfo "to set up the card you can use:" + einfo "- iwconfig from wireless-tools" + einfo "- RT2400 provided qt API: RaConfig2400" +} |