blob: d17e207ff28b39849eb36d485f8d3bbf15dbd6f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
RESTRICT="strip"
DESCRIPTION="eHD PCI card: tools svn r${PV}"
HOMEPAGE="http://www.reel-multimedia.com"
SRC_URI="http://quacks.fratzengeballer.org/distfiles/${P}.tgz
http://vdr.websitec.de/download/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="=media-video/reelbox-ehd-headers-${PV}"
S=${WORKDIR}/hdshm3
src_unpack() {
unpack ${A}
cd "${S}"
sed -i Makefile \
-e "s:gcc-3.3:gcc:g" \
-e "s:g++-3.3:g++:g" \
-e "s:x86/driver::"
}
src_compile() {
emake clean || die "emake clean failed"
emake x86 || die "emake x86 failed"
cd x86/hdtsplay
emake || die "emake hdtsplay failed"
}
src_install() {
dobin "${S}"/x86/hdboot/hdboot
dobin "${S}"/x86/hdctrld/hdctrld
dobin "${S}"/x86/shmnetd/shmnetd
dobin "${S}"/x86/hdfbshot/hdfbshot
dobin "${S}"/x86/hdfbctl/hdfbctl
dobin "${S}"/x86/hdtsplay/hdtsplay
}
|