summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2009-10-23 08:13:49 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2009-10-23 08:13:49 +0000
commit0b2ea67f7f4656cc230b26680fa88bc3ce96ae8f (patch)
tree7d9cd59d54c4e59fbb7c994632fba6f3538bc1aa /app-misc/usbirboy
parentAdd || die to install phase. (diff)
downloadhistorical-0b2ea67f7f4656cc230b26680fa88bc3ce96ae8f.tar.gz
historical-0b2ea67f7f4656cc230b26680fa88bc3ce96ae8f.tar.bz2
historical-0b2ea67f7f4656cc230b26680fa88bc3ce96ae8f.zip
Fix udev rule syntax.
Package-Manager: portage-2.2_rc46/cvs/Linux i686
Diffstat (limited to 'app-misc/usbirboy')
-rw-r--r--app-misc/usbirboy/ChangeLog10
-rw-r--r--app-misc/usbirboy/Manifest11
-rw-r--r--app-misc/usbirboy/usbirboy-0.3.1-r1.ebuild57
3 files changed, 71 insertions, 7 deletions
diff --git a/app-misc/usbirboy/ChangeLog b/app-misc/usbirboy/ChangeLog
index 840bcb9000fb..e14404befb46 100644
--- a/app-misc/usbirboy/ChangeLog
+++ b/app-misc/usbirboy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/usbirboy
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/usbirboy/ChangeLog,v 1.18 2008/05/16 20:49:40 zzam Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/usbirboy/ChangeLog,v 1.19 2009/10/23 08:13:49 zzam Exp $
+
+*usbirboy-0.3.1-r1 (23 Oct 2009)
+
+ 23 Oct 2009; Matthias Schwarzott <zzam@gentoo.org>
+ +usbirboy-0.3.1-r1.ebuild:
+ Fix udev rule syntax.
*usbirboy-0.3.1 (16 May 2008)
diff --git a/app-misc/usbirboy/Manifest b/app-misc/usbirboy/Manifest
index e80c31325769..2883b64d4f31 100644
--- a/app-misc/usbirboy/Manifest
+++ b/app-misc/usbirboy/Manifest
@@ -7,13 +7,14 @@ AUX usbirboy-0.2.1-nice-kernel-msgs.diff 1533 RMD160 00d10231e84f090973d7671e70a
DIST usbirboy-0.2.1.tar.gz 38664 RMD160 e443ddfc6f7275ced335849c52d7375d4afa7670 SHA1 2df6bef28a21a048fb6502f5e1d0479315cdd3ce SHA256 144e6e29dcce004f4999e2f90551529346516c478ae0773f753fda3abaed3ffd
DIST usbirboy-0.3.1.tar.gz 49649 RMD160 c3101e7cb8c03f739e981d350d399427c780ec38 SHA1 8d6ea44b68a6804ba95af271c22938b10479801b SHA256 cb879c1c67bb8deba385a12d5d97ca9ea6b148e77d1cd985a4fa3054b71d5cc6
EBUILD usbirboy-0.2.1-r1.ebuild 1448 RMD160 bb01b190b140bf4c3148e8ffd12d95d9150048fd SHA1 94592255bf4858a573c957e5e198ce3313da1d27 SHA256 503f5729fe1676ae1b63fe972d1e738e06cfc225ed7ddccb2f853b90f8d567e2
+EBUILD usbirboy-0.3.1-r1.ebuild 1273 RMD160 91d10a186b340b12fb1b2f135c0c95971293938e SHA1 64dbcd8d1af1604db13d9bcd6b10c34e779c6fb2 SHA256 ac4ff4c917c708ed3ab50843f15bbf5f7f988b479ab855efe38092cf56f6f89d
EBUILD usbirboy-0.3.1.ebuild 1280 RMD160 75b0967f92399dc54b68dfa56e9577f77073aaae SHA1 45e40b890cf4530c166b6ae8fb2b95c119705d39 SHA256 ad83963ca7db3f8245ca30353553b14b50b7ec0214bfa84f72624c4a2fb744d3
-MISC ChangeLog 2663 RMD160 992f39b9f377bbde7bf0e40c3da6b1d292d3b499 SHA1 85f364d91923a9ed81b474b8f6d36f92c8fde154 SHA256 8b8cc9f1098bc67215fed2b318955db97a33a1d5f4235a84c9b306059054b9e2
+MISC ChangeLog 2804 RMD160 a7e91bcab8cae988b49895f442ee410f34b6083a SHA1 092f30d60e2a9a2bba40968b87b495c89d2e4493 SHA256 c7b2146490e20728ddb32649862345a226647bb4815537ab53b95a64231e0bc5
MISC metadata.xml 162 RMD160 8bd24f9f2805b005cef731c0cda868c72e6980af SHA1 7464d1657179a3f30c5ea2ad401590e4489ac945 SHA256 aaad144c69dd58781e1dc97b5fbad08a5b4db504bd3cbbb4ab27018a307d5d81
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAkgt82sACgkQt2vP6XvVdOfIUQCeLnkf+EJsM3uwz+T4MamLQbfs
-V28AoIGAU3oi1e1TQBhFRxFBi5gPRiA/
-=mU+H
+iEYEARECAAYFAkrhZcQACgkQt2vP6XvVdOflHgCdHd3PEDqdEIp5KVoIaGrPohx9
+j5YAoLJEV3vBdSodu1xqzLB+/nnVghaR
+=GGS/
-----END PGP SIGNATURE-----
diff --git a/app-misc/usbirboy/usbirboy-0.3.1-r1.ebuild b/app-misc/usbirboy/usbirboy-0.3.1-r1.ebuild
new file mode 100644
index 000000000000..c2e2484e42b1
--- /dev/null
+++ b/app-misc/usbirboy/usbirboy-0.3.1-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/usbirboy/usbirboy-0.3.1-r1.ebuild,v 1.1 2009/10/23 08:13:49 zzam Exp $
+
+inherit linux-mod eutils
+
+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="~alpha ~amd64 ~ia64 ~ppc ~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="clean all"
+}
+
+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
+ dodir /etc/udev/rules.d
+ echo 'KERNEL=="usbirboy", SYMLINK+="lirc"' \
+ > "${D}etc/udev/rules.d/30-${PN}.rules"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ elog
+ elog "Firmware file has been installed to /usr/share/${PN}"
+ elog
+}