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

inherit eutils

DESCRIPTION=""
HOMEPAGE=""
SRC_URI="http://www.rivendellaudio.org/ftpdocs/${PN}/${P}.tar.gz"

LICENSE=""
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=""
RDEPEND=""

pkg_setup() {
	enewgroup rivendell
	enewuser rivendell -1 /bin/bash /var/lib/rivendell rivendell
}

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/sandbox.patch
}

src_install() {
	emake DESTDIR="${D}" install || die "install failed"

	insinto /etc
	doins conf/rd.conf-sample

	mkdir ${D}/var/snd
	chown rivendell:rivendell ${D}/var/snd
}