summaryrefslogtreecommitdiff
blob: d2a2d5eaad1587e7122aa6b38b0ab7e474958fa3 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/eroaster/eroaster-2.1.0.ebuild,v 1.7 2002/08/16 02:31:09 murphy Exp $

DESCRIPTION="A graphical frontend for cdrecord and mkisofs written in gnome-python"
HOMEPAGE="http://eroaster.sourceforge.net"
SRC_URI="http://telia.dl.sourceforge.net/sourceforge/eroaster/${P}.tar.gz"  

LICENSE="GPL-2"
KEYWORDS="x86 sparc sparc64"
SLOT="0"

# cdrecord and mkisofs are needed or configure fails
DEPEND=">=dev-lang/python-2.0
	>=dev-python/gnome-python-1.4
	app-cdr/cdrtools"

# xmms here is only used in runtime
# not a bulild dep.
RDEPEND="${DEPEND}
	xmms? ( media-sound/xmms )"

S=${WORKDIR}/${P}

src_compile() {
	econf || die "./configure failed"
	emake || die
}

src_install () {
	make \
		prefix=${D}/usr \
		gnorbadir=${D}/usr \
		mandir=${D}/usr/share/man \
		infodir=${D}/usr/share/info \
		install || die
}

pkg_postinst() {
	einfo
	einfo "The following binaries are needed to make full use of this program:"
	einfo
	einfo "mpg123   For converting MP3s to WAVs and playing MP3s"
	einfo "sox      For converting MP3s to WAVs"
	einfo "xmms     For playing MP3s"
	einfo "bchunk   For converting BIN/CUE to ISO"
	einfo "lame     For Encoding MP3s"
	einfo "ogginfo  For Getting OGG ID3 information"
	einfo "ogg123   For converting OGGs to WAVs"
	einfo
}