blob: 1193464a2ece6dfae7183aa17903f4d6839770b9 (
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
54
55
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
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="~amd64 ~x86"
IUSE=""
DEPEND=">=media-video/reelbox-ehd-tools-${PV}"
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
newinitd "${FILESDIR}/reelbox-ehd-v2" reelbox-ehd
}
pkg_postinst() {
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
}
|