summaryrefslogtreecommitdiff
blob: f1c51dc7795373e348e65f17b3c97edf0ad29ef7 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit eutils

DESCRIPTION="gentoo system management"
HOMEPAGE=""
SRC_URI="http://www.aperiplus.co.uk/downloads/src/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="app-misc/bashfun
	media-video/mplayer
	media-video/projectx"

#DEPEND=""

src_install() {
    dodir /opt/bin
    dosym /opt/pvr/bin/pvr.sh /opt/bin/pvr
    insinto '/opt/pvr'
    doins -r "${S}/opt"
    insinto '/etc/pvr'
    doins "${S}/etc/pvr/config.sh"
}

pkg_postinst() {
    elog
    elog 'you may want to edit /etc/pvr/config.sh now - just follow instructions in the file'
    elog
}