summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2005-11-04 21:54:25 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2005-11-04 21:54:25 +0000
commitfd7fb4a2666b853df3e2ecb1cc8370cabe40aa0e (patch)
treee382d18787072b5a2da24e0b22d14620b0ed58d0 /net-wireless
parentNew ebuild contirbutet by kang@gentoo.org (diff)
downloadgentoo-2-fd7fb4a2666b853df3e2ecb1cc8370cabe40aa0e.tar.gz
gentoo-2-fd7fb4a2666b853df3e2ecb1cc8370cabe40aa0e.tar.bz2
gentoo-2-fd7fb4a2666b853df3e2ecb1cc8370cabe40aa0e.zip
initial commit.
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/mcs7780/ChangeLog10
-rw-r--r--net-wireless/mcs7780/Manifest3
-rw-r--r--net-wireless/mcs7780/files/digest-mcs7780-0.2_alpha31
-rw-r--r--net-wireless/mcs7780/mcs7780-0.2_alpha3.ebuild49
-rw-r--r--net-wireless/mcs7780/metadata.xml16
5 files changed, 79 insertions, 0 deletions
diff --git a/net-wireless/mcs7780/ChangeLog b/net-wireless/mcs7780/ChangeLog
new file mode 100644
index 000000000000..05717a820b43
--- /dev/null
+++ b/net-wireless/mcs7780/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-wireless/mcs7780
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/mcs7780/ChangeLog,v 1.1 2005/11/04 21:54:25 sbriesen Exp $
+
+*mcs7780-0.2_alpha3 (04 Nov 2005)
+
+ 04 Nov 2005; Stefan Briesenick <sbriesen@gentoo.org> +metadata.xml,
+ +mcs7780-0.2_alpha3.ebuild:
+ initial commit.
+
diff --git a/net-wireless/mcs7780/Manifest b/net-wireless/mcs7780/Manifest
new file mode 100644
index 000000000000..e6f7efcb40bb
--- /dev/null
+++ b/net-wireless/mcs7780/Manifest
@@ -0,0 +1,3 @@
+MD5 8380844e1e2b6fcb6fa45f8560d05202 files/digest-mcs7780-0.2_alpha3 70
+MD5 5f0e0c7194a96695e95c90136c2c8053 mcs7780-0.2_alpha3.ebuild 1207
+MD5 393bc437e5b660dda00f9ee1369ec2c1 metadata.xml 630
diff --git a/net-wireless/mcs7780/files/digest-mcs7780-0.2_alpha3 b/net-wireless/mcs7780/files/digest-mcs7780-0.2_alpha3
new file mode 100644
index 000000000000..f44a3cd3b6ae
--- /dev/null
+++ b/net-wireless/mcs7780/files/digest-mcs7780-0.2_alpha3
@@ -0,0 +1 @@
+MD5 c894799107e8cb2f119042eb55c000a4 mcs7780-0.2alpha.3.tar.bz2 15092
diff --git a/net-wireless/mcs7780/mcs7780-0.2_alpha3.ebuild b/net-wireless/mcs7780/mcs7780-0.2_alpha3.ebuild
new file mode 100644
index 000000000000..3814c30cb7ef
--- /dev/null
+++ b/net-wireless/mcs7780/mcs7780-0.2_alpha3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/mcs7780/mcs7780-0.2_alpha3.ebuild,v 1.1 2005/11/04 21:54:25 sbriesen Exp $
+
+inherit eutils linux-mod
+
+MY_P="${PN}-${PV/_alpha/alpha.}"
+
+DESCRIPTION="Driver for MosChip MCS7780 USB-IrDA bridge chip"
+HOMEPAGE="http://www.ee.pw.edu.pl/~stelmacl/"
+SRC_URI="http://www.ee.pw.edu.pl/~stelmacl/${MY_P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ if ! kernel_is 2 6; then
+ die "This package works only with 2.6 kernel!"
+ fi
+ CONFIG_CHECK="IRDA USB"
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KERNEL_DIR=${KV_DIR}"
+ BUILD_TARGETS="default"
+ MODULE_NAMES="mcs7780(net/irda)"
+ MODULESD_MCS7780_ENABLED="yes"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ convert_to_m "Makefile"
+ # comment out some debug-infos (floods syslog)
+ sed -i -e "s:^\([^/]*\)\(info(.*__FUNCTION__\):\1//\2¹:g" mcs7780.c
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ einfo
+ einfo "This driver is an *alpha* driver! Expect everything! ;-)"
+ einfo
+ einfo "For more informations about this driver, have a look"
+ einfo "at this thread on the Linux-Kernel mailing list:"
+ einfo
+ einfo "http://www.ussg.iu.edu/hypermail/linux/kernel/0505.3/0377.html"
+ einfo
+}
diff --git a/net-wireless/mcs7780/metadata.xml b/net-wireless/mcs7780/metadata.xml
new file mode 100644
index 000000000000..f30f2b4a0c30
--- /dev/null
+++ b/net-wireless/mcs7780/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sbriesen@gentoo.org</email>
+ <name>Stefan Briesenick</name>
+ </maintainer>
+ <longdescription lang="en">
+ MCS7780 is a simple USB to IrDA bridge by MosChip. It is neither
+ compatibile with irda-usb nor with stir4200. Although it is quite
+ similar to the latter as far as general idea of operation is concerned.
+ That is it requires the software to do all the framing job. It supports
+ all speeds from 2400 through 4Mbps.
+ </longdescription>
+</pkgmetadata>