summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/reelbox-ehd-tools/reelbox-ehd-tools-12384.ebuild')
-rw-r--r--media-video/reelbox-ehd-tools/reelbox-ehd-tools-12384.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/media-video/reelbox-ehd-tools/reelbox-ehd-tools-12384.ebuild b/media-video/reelbox-ehd-tools/reelbox-ehd-tools-12384.ebuild
index 08f6268..f0f33f1 100644
--- a/media-video/reelbox-ehd-tools/reelbox-ehd-tools-12384.ebuild
+++ b/media-video/reelbox-ehd-tools/reelbox-ehd-tools-12384.ebuild
@@ -2,9 +2,11 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI="2"
+
inherit eutils
-RESTRICT="strip"
+RESTRICT="strip mirror"
DESCRIPTION="eHD PCI card: tools svn r${PV}"
HOMEPAGE="http://www.reel-multimedia.com"
@@ -12,17 +14,17 @@ SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="=media-video/reelbox-ehd-headers-${PV}"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
S=${WORKDIR}/hdshm3
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
+
+ sed -i "${S}"/x86/hdtsplay/Makefile -e "s:LDFLAGS =:LDFLAGS ?=:"
sed -i Makefile \
-e "s:gcc-3.3:gcc:g" \
@@ -34,7 +36,6 @@ src_unpack() {
einfo "Changing framebuffer device to $EHD_FRAMEBUFFER"
find . -type f -exec sed -i "s:/dev/fb0:${EHD_FRAMEBUFFER}:g" {} \;
fi
-
}
src_compile() {