summaryrefslogtreecommitdiff
blob: d5b309ddf7e0dabab82bed80b06ba67ca72ee455 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/rezound-0.8.3_beta-r2.ebuild,v 1.6 2004/06/25 00:19:55 agriffis Exp $

MY_P="${P/_/}"
DESCRIPTION="Sound editor and recorder"
HOMEPAGE="http://rezound.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
RESTRICT="nomirror"

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

IUSE="oggvorbis jack"

DEPEND="virtual/x11
	jack? ( media-sound/jack-audio-connection-kit )
	oggvorbis? ( media-libs/libvorbis media-libs/libogg )
	=dev-libs/fftw-2*
	>x11-libs/fox-1.0.17
	>=media-libs/flac-1.1.0"

S="${WORKDIR}/${MY_P}"

src_compile() {
	local myconf="--prefix=/usr --host=${CHOST}"
	use jack && myconf="${myconf} --enable-jack"
	./configure ${myconf} || die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS COPYRIGHT ChangeLog FAQ README TODO
}