# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Console app for copying burning audio cds"
HOMEPAGE="https://burncdda.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"
IUSE="flac vorbis"

RDEPEND="
	app-cdr/cdrdao
	app-cdr/cdrtools
	dev-util/dialog
	media-sound/normalize
	media-sound/sox
	flac? ( media-libs/flac )
	vorbis? ( media-sound/vorbis-tools )"

src_install() {
	dobin ${PN}

	insinto /usr/share/${PN}
	doins *.func

	insinto /etc
	doins ${PN}.conf

	dodoc ChangeLog
	doman burncdda.1
}