summaryrefslogtreecommitdiff
blob: 36df43c74728056b32ff70caf1195e42d4d34b1e (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/dvda-author/dvda-author-20050703.ebuild,v 1.1 2008/01/06 02:46:01 sbriesen Exp $

inherit eutils toolchain-funcs

DESCRIPTION="Author a DVD-Audio DVD"
HOMEPAGE="http://dvd-audio.sourceforge.net/"
SRC_URI="mirror://sourceforge/dvd-audio/${P}-Linux.tar.gz"

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

RDEPEND=">=media-libs/flac-1.1.3"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_unpack() {
	unpack ${A}
	epatch "${FILESDIR}/${P}-flac113.diff"
}

src_compile() {
	emake -C src CC="$(tc-getCC)" || die "emake failed"
}

src_install() {
	dobin src/dvda-author || die "install failed"
	dodoc CHANGES README sort.txt
}