summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2004-11-30 16:19:25 +0000
committerBrian Jackson <iggy@gentoo.org>2004-11-30 16:19:25 +0000
commit74cde00e2340b5820caa50b1848f0f804d357ea8 (patch)
treede8cc2a014f57aef1220bd66d33b8642a854557b /app-misc
parentChanged SRC_URI to use mirror:// syntax and ${PN}/${P} variables. Version 2.0... (diff)
downloadhistorical-74cde00e2340b5820caa50b1848f0f804d357ea8.tar.gz
historical-74cde00e2340b5820caa50b1848f0f804d357ea8.tar.bz2
historical-74cde00e2340b5820caa50b1848f0f804d357ea8.zip
update lirc-0.7.0 to use linux-mod
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/lirc/ChangeLog6
-rw-r--r--app-misc/lirc/Manifest6
-rw-r--r--app-misc/lirc/lirc-0.7.0.ebuild23
-rw-r--r--app-misc/lirc/metadata.xml4
4 files changed, 16 insertions, 23 deletions
diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog
index ba0ec1968030..c5ebf1dea5b7 100644
--- a/app-misc/lirc/ChangeLog
+++ b/app-misc/lirc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/lirc
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.50 2004/11/29 12:53:32 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.51 2004/11/30 16:19:25 iggy Exp $
+
+ 30 Nov 2004; Brian Jackson <iggy@gentoo.org> metadata.xml,
+ lirc-0.7.0.ebuild:
+ update lirc-0.7.0 to use linux-mod, added lanius as maintainer
29 Nov 2004; lanius@gentoo.org files/lircd.conf:
fix default path of lirc device, bug #71618
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index 2bebeb702e51..2594d3a435d8 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -1,9 +1,9 @@
MD5 6ea46a8f53247afcc0e5566e20a97270 lirc-0.7.0_pre6.ebuild 4619
-MD5 8bdf0ccd712a1146b5da536da56fb3fe lirc-0.7.0.ebuild 4020
+MD5 a9b4e7432c9154352e2db62a6f46cd06 lirc-0.7.0.ebuild 3696
MD5 9dec01b704006290727d5bf8d5c7fb3b lirc-0.7.0_pre3.ebuild 4430
MD5 6409d202b33858fe2babae36d09cff0c lirc-0.7.0_pre7.ebuild 3524
-MD5 31fadbb55a541ce4991ff19bb3acbfd9 ChangeLog 7387
-MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
+MD5 2e77e12d9b618f60dea85398745df387 ChangeLog 7533
+MD5 40a6e0a06901a627d29f4c528e40c9ad metadata.xml 265
MD5 d0d865cbe48f328fb4cfb41e22d4407b files/lirc-0.7.0_pre2-i2c.patch.gz 705
MD5 ab341c2bcfd5c4f94560dc256e32a70c files/lircd 450
MD5 96f711e08f4de00f8005fb7160be8452 files/lircd.conf 66
diff --git a/app-misc/lirc/lirc-0.7.0.ebuild b/app-misc/lirc/lirc-0.7.0.ebuild
index 78b8bc12217b..1dce10348ac4 100644
--- a/app-misc/lirc/lirc-0.7.0.ebuild
+++ b/app-misc/lirc/lirc-0.7.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.7.0.ebuild,v 1.3 2004/11/29 12:50:56 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.7.0.ebuild,v 1.4 2004/11/30 16:19:25 iggy Exp $
-inherit eutils kernel-mod
+inherit eutils linux-mod
DESCRIPTION="LIRC is a package that allows you to decode and send infra-red \
signals of many (but not all) commonly used remote controls."
@@ -49,22 +49,12 @@ DEPEND="virtual/linux-sources"
SRC_URI="mirror://sourceforge/lirc/${P}.tar.bz2
http://www.hardeman.nu/~david/lirc/broken-out/01-add-2.6-devfs-and-sysfs-to-lirc_dev.patch"
-pkg_setup() {
- kernel-mod_check_modules_supported
-}
-
src_unpack() {
unpack ${A}
cd ${S}
use streamzap && epatch ${FILESDIR}/lirc-0.7.0-streamzap.patch.bz2
#epatch ${FILESDIR}/${P}-configure.in.patch
sed -i -e "s:-O2 -g:${CFLAGS}:" configure configure.in
-
- kernel-mod_getversion
- if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
- then
- sed -i 's:SUBDIRS=:M=:g' ${S}/Makefile
- fi
}
src_compile() {
@@ -81,8 +71,8 @@ src_compile() {
sed -si "s|/usr/src/kernel\-source\-\`uname \-r\` /usr/src/linux\-\`uname \-r\` ||" \
acinclude.m4 aclocal.m4 configure || die "/usr/src/linux sed failed"
- kernel-mod_getversion
- sed -si "s|\`uname \-r\`|${KV_VERSION_FULL}|" configure configure.in setup.sh || \
+ get_version
+ sed -si "s|\`uname \-r\`|${KV_FULL}|" configure configure.in setup.sh || \
die "/lib/modules sed failed"
unset ARCH
@@ -94,6 +84,7 @@ src_compile() {
`use_enable debug` \
${LIRC_OPTS} || die "./configure failed"
+ convert_to_m ${S}/Makefile
emake || die
}
@@ -131,7 +122,5 @@ pkg_postinst() {
einfo "variable to your needs."
einfo
- einfo "Checking kernel module dependencies"
- test -r "${ROOT}/usr/src/linux/System.map" && \
- depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
+ update_depmod
}
diff --git a/app-misc/lirc/metadata.xml b/app-misc/lirc/metadata.xml
index d8b96be3c5cd..e85ec4844a83 100644
--- a/app-misc/lirc/metadata.xml
+++ b/app-misc/lirc/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>bug-wranglers@gentoo.org</email>
- <description>This package lacks a primary herd or maintainer.</description>
+ <email>lanius@gentoo.org</email>
+ <description>Maintained</description>
</maintainer>
</pkgmetadata>