| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cuetools/cuetools-1.3.1-r2.ebuild,v 1.1 2011/08/07 13:21:10 xarthisius Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
inherit eutils |
| 8 |
|
| 9 |
DESCRIPTION="Utilities to manipulate and convert cue and toc files" |
| 10 |
HOMEPAGE="http://developer.berlios.de/projects/cuetools/" |
| 11 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz |
| 12 |
mirror://gentoo/${P}-debian.patch.bz2" |
| 13 |
|
| 14 |
LICENSE="GPL-2" |
| 15 |
SLOT="0" |
| 16 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
| 17 |
IUSE="extras" |
| 18 |
|
| 19 |
DEPEND="sys-devel/bison |
| 20 |
sys-devel/flex" |
| 21 |
RDEPEND="extras? ( |
| 22 |
media-sound/vorbis-tools |
| 23 |
media-libs/flac |
| 24 |
media-sound/mp3info |
| 25 |
)" |
| 26 |
|
| 27 |
src_prepare() { |
| 28 |
epatch "${WORKDIR}"/${P}-debian.patch \ |
| 29 |
"${FILESDIR}"/${P}-flac.patch |
| 30 |
} |
| 31 |
|
| 32 |
src_install() { |
| 33 |
emake DESTDIR="${D}" install |
| 34 |
dodoc AUTHORS NEWS README TODO |
| 35 |
use extras && dobin extras/cuetag.sh |
| 36 |
docinto extras |
| 37 |
dodoc extras/{cueconvert.cgi,*.txt} |
| 38 |
} |