You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
952 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cuetools/cuetools-1.3.1-r2.ebuild,v 1.2 2012/09/03 01:29:09 ottxor Exp $
EAPI=4
inherit eutils
DESCRIPTION="Utilities to manipulate and convert cue and toc files"
HOMEPAGE="http://developer.berlios.de/projects/cuetools/"
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz
mirror://gentoo/${P}-debian.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="extras"
DEPEND="sys-devel/bison
sys-devel/flex"
RDEPEND="extras? (
media-sound/vorbis-tools
media-libs/flac
media-sound/mp3info
)"
src_prepare() {
epatch "${WORKDIR}"/${P}-debian.patch \
"${FILESDIR}"/${P}-flac.patch
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS NEWS README TODO
use extras && dobin extras/cuetag.sh
docinto extras
dodoc extras/{cueconvert.cgi,*.txt}
}