blob: d37b879821ccfd1572e17eaf677f1dfc94aa7ec2 (
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
50
51
52
53
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
RESTRICT="strip"
inherit eutils
DESCRIPTION="Reelbox player for the Reel eHD PCI card SVN"
HOMEPAGE="http://www.reel-multimedia.com"
SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=media-video/reelbox-ehd-tools-12384"
RDEPEND="${DEPEND}"
S="${WORKDIR}/precompiled"
src_unpack() {
unpack ${A}
cd "${S}"
gzip -d linux.bin.gz
gzip -d hdplayer.gz
}
src_install() {
insinto /opt/reelbox-ehd/hdplayer
doins hdplayer
insinto /opt/reelbox-ehd
doins linux.bin
insinto /etc/init.d
newinitd "${FILESDIR}/reelbox-ehd" reelbox-ehd
echo
einfo "The hdplayer binary was installed in /opt/reelbox-ehd/hdplayer"
einfo "You need to install a tftp-server an let him point to /opt/reelbox-ehd."
echo
einfo "For a working Reel eHD you need the tun and hdshm module"
einfo "in modules autoload file"
echo
einfo "Since svn-rel 5720 or higher the conf.d/reelbox-ehd is not longer"
einfo "needed."
echo
}
|