summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2011-01-28 23:31:24 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2011-01-28 23:31:24 +0000
commit0dbac3046cc71cdecd2cbb174bd42d68433faef7 (patch)
treea2454e17dade368d71755f5daf518ceeafd75614 /media-plugins/vdr-extb
parentVersion bump. (diff)
downloadgentoo-2-0dbac3046cc71cdecd2cbb174bd42d68433faef7.tar.gz
gentoo-2-0dbac3046cc71cdecd2cbb174bd42d68433faef7.tar.bz2
gentoo-2-0dbac3046cc71cdecd2cbb174bd42d68433faef7.zip
fixed #336198; minor ebuild fixes; eapi=3
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'media-plugins/vdr-extb')
-rw-r--r--media-plugins/vdr-extb/ChangeLog8
-rw-r--r--media-plugins/vdr-extb/vdr-extb-0.3.1.ebuild29
2 files changed, 25 insertions, 12 deletions
diff --git a/media-plugins/vdr-extb/ChangeLog b/media-plugins/vdr-extb/ChangeLog
index 4d7258884377..0556fe7c5e30 100644
--- a/media-plugins/vdr-extb/ChangeLog
+++ b/media-plugins/vdr-extb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-extb
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extb/ChangeLog,v 1.5 2010/12/02 15:10:01 hd_brummy Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extb/ChangeLog,v 1.6 2011/01/28 23:31:24 hd_brummy Exp $
+
+ 28 Jan 2011; Joerg Bornkessel <hd_brummy@gentoo.org>
+ vdr-extb-0.3.1.ebuild:
+ fixed #336198; minor ebuild fixes; eapi=3
*vdr-extb-0.3.1 (02 Dec 2010)
diff --git a/media-plugins/vdr-extb/vdr-extb-0.3.1.ebuild b/media-plugins/vdr-extb/vdr-extb-0.3.1.ebuild
index cc561143af14..b0690bdb5635 100644
--- a/media-plugins/vdr-extb/vdr-extb-0.3.1.ebuild
+++ b/media-plugins/vdr-extb/vdr-extb-0.3.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extb/vdr-extb-0.3.1.ebuild,v 1.1 2010/12/02 15:10:01 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extb/vdr-extb-0.3.1.ebuild,v 1.2 2011/01/28 23:31:24 hd_brummy Exp $
-EAPI="2"
+EAPI="3"
inherit vdr-plugin
@@ -19,35 +19,44 @@ IUSE=""
DEPEND=">=media-video/vdr-1.6.0
app-misc/lirc"
+RDEPEND="${DEPEND}"
src_prepare() {
vdr-plugin_src_prepare
+ sed -i "${WORKDIR}"/extb/src/LinPIC/Makefile \
+ -e "s:\$(LDLIBS):\$(LDFLAGS) \$(LDLIBS):"
+
cd "${WORKDIR}"
epatch "${FILESDIR}/${P}-gentoo.diff"
epatch "${FILESDIR}/${P}_vdr-1.7.13.diff"
}
+src_compile() {
+ vdr-plugin_src_compile
+
+ emake -C "${WORKDIR}/extb/src/LinPIC" all
+}
src_install() {
vdr-plugin_src_install
dodoc README.de
- dodoc "${S}/../lircd.conf.extb_FW1.08"
+ dodoc "${WORKDIR}/lircd.conf.extb_FW1.08"
docinto wakeup
dodoc "${S}/wakeup/README.de"
- dobin "${S}/../extb/bin/extb.sh"
- dobin "${S}/../extb/bin/picdl"
- dobin "${S}/../extb/bin/status.sh"
- dobin "${S}/../extb/bin/tx.sh"
+ dobin "${WORKDIR}/extb/src/LinPIC/picdl"
+ dobin "${WORKDIR}/extb/bin/extb.sh"
+ dobin "${WORKDIR}/extb/bin/status.sh"
+ dobin "${WORKDIR}/extb/bin/tx.sh"
dobin "${S}/wakeup/extb-poweroff.pl"
dobin "${S}/wakeup/examples/checkscript.sh"
insinto /usr/share/extb/
- doins "${S}/../extb_1.08.hex"
+ doins "${WORKDIR}/extb_1.08.hex"
insinto /etc/extb
- doins "${S}/../extb/bin/PICflags.conf"
+ doins "${WORKDIR}/extb/bin/PICflags.conf"
doins "${S}/wakeup/examples/extb-poweroff.conf"
}