diff options
Diffstat (limited to 'app-misc/usbirboy/usbirboy-0.3.1-r1.ebuild')
-rw-r--r-- | app-misc/usbirboy/usbirboy-0.3.1-r1.ebuild | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/app-misc/usbirboy/usbirboy-0.3.1-r1.ebuild b/app-misc/usbirboy/usbirboy-0.3.1-r1.ebuild deleted file mode 100644 index fe9b8383adac..000000000000 --- a/app-misc/usbirboy/usbirboy-0.3.1-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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 -ge 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 -} |