summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2006-07-01 10:31:02 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2006-07-01 10:31:02 +0000
commite8ea0c7b8374a1ab26b0ebea7bc5d465164cbbc7 (patch)
tree5158c08c2ed1f2f2e781120831c041279a9ba2d0 /app-misc
parentStable on ppc; bug #130175. (diff)
downloadhistorical-e8ea0c7b8374a1ab26b0ebea7bc5d465164cbbc7.tar.gz
historical-e8ea0c7b8374a1ab26b0ebea7bc5d465164cbbc7.tar.bz2
historical-e8ea0c7b8374a1ab26b0ebea7bc5d465164cbbc7.zip
added sanity checks, install README.mcu and udev rules, some minor cleanup.
Package-Manager: portage-2.1.1_pre1-r5
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/usbirboy/ChangeLog8
-rw-r--r--app-misc/usbirboy/Manifest15
-rw-r--r--app-misc/usbirboy/files/digest-usbirboy-0.2.1-r13
-rw-r--r--app-misc/usbirboy/usbirboy-0.2.1-r1.ebuild66
4 files changed, 87 insertions, 5 deletions
diff --git a/app-misc/usbirboy/ChangeLog b/app-misc/usbirboy/ChangeLog
index cbb4164faf77..4ec6f7bd10c9 100644
--- a/app-misc/usbirboy/ChangeLog
+++ b/app-misc/usbirboy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/usbirboy
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/usbirboy/ChangeLog,v 1.3 2006/06/26 20:24:30 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/usbirboy/ChangeLog,v 1.4 2006/07/01 10:31:02 sbriesen Exp $
+
+*usbirboy-0.2.1-r1 (01 Jul 2006)
+
+ 01 Jul 2006; Stefan Briesenick <sbriesen@gentoo.org>
+ +usbirboy-0.2.1-r1.ebuild:
+ added sanity checks, install README.mcu and udev rules, some minor cleanup.
26 Jun 2006; Markus Rothe <corsair@gentoo.org> usbirboy-0.2.1.ebuild:
Added ~ppc64; bug #138025
diff --git a/app-misc/usbirboy/Manifest b/app-misc/usbirboy/Manifest
index 71eda1eec135..c3071d594b50 100644
--- a/app-misc/usbirboy/Manifest
+++ b/app-misc/usbirboy/Manifest
@@ -3,14 +3,18 @@ MD5 83eb0eda79a99bb7e4e74281d2cbd900 files/usbirboy-0.2.1-kernel-2.6.16.diff 148
RMD160 c41d2b11777c096946e96d2bb5a466796ab3e13b files/usbirboy-0.2.1-kernel-2.6.16.diff 1488
SHA256 58466c199af78c246ecf281dcd05828b88d42ee4847acfa9e87f527339cbe730 files/usbirboy-0.2.1-kernel-2.6.16.diff 1488
DIST usbirboy-0.2.1.tar.gz 38664 RMD160 e443ddfc6f7275ced335849c52d7375d4afa7670 SHA1 2df6bef28a21a048fb6502f5e1d0479315cdd3ce SHA256 144e6e29dcce004f4999e2f90551529346516c478ae0773f753fda3abaed3ffd
+EBUILD usbirboy-0.2.1-r1.ebuild 1374 RMD160 4251ded82c240b3976502f826fb34453e89abbe4 SHA1 da2c93a26667106ce207481c17f5f2f8e31a1347 SHA256 e96b20a9cf2f2fbf1f2097aed76106c14e8f8f8161ac36049a010bd3293f0dd8
+MD5 bbdda1c4aec0df560f48e2c050576009 usbirboy-0.2.1-r1.ebuild 1374
+RMD160 4251ded82c240b3976502f826fb34453e89abbe4 usbirboy-0.2.1-r1.ebuild 1374
+SHA256 e96b20a9cf2f2fbf1f2097aed76106c14e8f8f8161ac36049a010bd3293f0dd8 usbirboy-0.2.1-r1.ebuild 1374
EBUILD usbirboy-0.2.1.ebuild 972 RMD160 570dc97700e54f308c535dadfff215a6b727a857 SHA1 28895f4218c9b64f87a1b49e654d40456dc3c98f SHA256 ccbe45ba62e2e998a0bf06393f3fe35b735cfbb9fd15a393df41e71b9fa45aa6
MD5 7cecfec051621c1e5d19f0ac4ab57510 usbirboy-0.2.1.ebuild 972
RMD160 570dc97700e54f308c535dadfff215a6b727a857 usbirboy-0.2.1.ebuild 972
SHA256 ccbe45ba62e2e998a0bf06393f3fe35b735cfbb9fd15a393df41e71b9fa45aa6 usbirboy-0.2.1.ebuild 972
-MISC ChangeLog 705 RMD160 4eb047691da75d2ea3f70074d18f589a18df4223 SHA1 4fc2458bef614bc15a18c200dc9b62bf1379e4d5 SHA256 77dd2d5ccf5f5b6d6256b1c45f642d252989d7ca482461acd57b439d83786d56
-MD5 ca80b64ac52af3862f7bfc3458bfe613 ChangeLog 705
-RMD160 4eb047691da75d2ea3f70074d18f589a18df4223 ChangeLog 705
-SHA256 77dd2d5ccf5f5b6d6256b1c45f642d252989d7ca482461acd57b439d83786d56 ChangeLog 705
+MISC ChangeLog 903 RMD160 1d670d63fe60dcb5e7bf9b03e5b6187706a0dddf SHA1 ef03e0e5b74fd521f1c0246695ce904c49821370 SHA256 9957ee695532739d4733bd734b13ba8f9cb58ad97758498c95d500cab9598e3b
+MD5 ca9632e75a1dc6721349059895e7f51e ChangeLog 903
+RMD160 1d670d63fe60dcb5e7bf9b03e5b6187706a0dddf ChangeLog 903
+SHA256 9957ee695532739d4733bd734b13ba8f9cb58ad97758498c95d500cab9598e3b ChangeLog 903
MISC metadata.xml 299 RMD160 707aad4075ec4bf229379b99eb3dc32c9c48c317 SHA1 923159f185f3f7e258d1b6c658ab5e840d695a94 SHA256 2c97fe6032a94ea9ba56c8ce7417669afc1d2600b45c64489a2ff364de5057d3
MD5 508178af527abb0fbdf4425cad1798d4 metadata.xml 299
RMD160 707aad4075ec4bf229379b99eb3dc32c9c48c317 metadata.xml 299
@@ -18,3 +22,6 @@ SHA256 2c97fe6032a94ea9ba56c8ce7417669afc1d2600b45c64489a2ff364de5057d3 metadata
MD5 ef3eb69f88756557ae4a8216b504d6a2 files/digest-usbirboy-0.2.1 241
RMD160 7dd0c373f0544709fb8efa16198eccd921048e3d files/digest-usbirboy-0.2.1 241
SHA256 afda63fc489f07855c09d20f36845a43a6fb5d53199cd8b648b5914fc5cb3e91 files/digest-usbirboy-0.2.1 241
+MD5 ef3eb69f88756557ae4a8216b504d6a2 files/digest-usbirboy-0.2.1-r1 241
+RMD160 7dd0c373f0544709fb8efa16198eccd921048e3d files/digest-usbirboy-0.2.1-r1 241
+SHA256 afda63fc489f07855c09d20f36845a43a6fb5d53199cd8b648b5914fc5cb3e91 files/digest-usbirboy-0.2.1-r1 241
diff --git a/app-misc/usbirboy/files/digest-usbirboy-0.2.1-r1 b/app-misc/usbirboy/files/digest-usbirboy-0.2.1-r1
new file mode 100644
index 000000000000..8b2038d1af28
--- /dev/null
+++ b/app-misc/usbirboy/files/digest-usbirboy-0.2.1-r1
@@ -0,0 +1,3 @@
+MD5 841dbf29a78987f104bcd062fd1ff3bd usbirboy-0.2.1.tar.gz 38664
+RMD160 e443ddfc6f7275ced335849c52d7375d4afa7670 usbirboy-0.2.1.tar.gz 38664
+SHA256 144e6e29dcce004f4999e2f90551529346516c478ae0773f753fda3abaed3ffd usbirboy-0.2.1.tar.gz 38664
diff --git a/app-misc/usbirboy/usbirboy-0.2.1-r1.ebuild b/app-misc/usbirboy/usbirboy-0.2.1-r1.ebuild
new file mode 100644
index 000000000000..ee0e6266fc98
--- /dev/null
+++ b/app-misc/usbirboy/usbirboy-0.2.1-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/usbirboy/usbirboy-0.2.1-r1.ebuild,v 1.1 2006/07/01 10:31:02 sbriesen Exp $
+
+inherit linux-mod
+
+DESCRIPTION="Use home made infrared receiver connected via USB"
+HOMEPAGE="http://usbirboy.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${P}/usbirboykmod"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ if ! kernel_is 2 6; then
+ die "This package works only with 2.6 kernel!"
+ fi
+
+ if ! linux_chkconfig_present USB; then
+ die "You need a kernel with enabled USB support!"
+ fi
+
+ MODULE_NAMES="usbirboy(misc:${S})"
+ BUILD_PARAMS="INCLUDE=${KV_DIR}"
+ BUILD_TARGETS="default"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ epatch ${FILESDIR}/${P}-kernel-2.6.16.diff
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README
+ newdoc ../usbirboymcu/README README.mcu
+
+ insinto /usr/share/${PN}
+ doins ../mcubin/usbirboy.s19
+
+ # Add configuration for udev
+ if [ -e ${ROOT}dev/.udev ]; then
+ dodir /etc/udev/rules.d
+ echo 'KERNEL=="usbirboy", NAME="%k", SYMLINK="lirc"' \
+ > "${D}etc/udev/rules.d/55-${PN}.rules"
+ fi
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ einfo
+ einfo "Firmware file has been installed to /usr/share/${PN}"
+ einfo
+}
+