summaryrefslogtreecommitdiff
blob: 59d6ff404c03b2b2cbe106c1bcaa28f3b7509f0b (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

KEYWORDS="~x86"

DESCRIPTION="A terminal-based ripper/encoder/tagger tool for creating Ogg Vorbis and FLAC files."
HOMEPAGE="http://bach.dynet.com/crip/index.html"
SRC_URI="http://bach.dynet.com/${PN}/src/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE="normalize"

DEPEND=""
RDEPEND="dev-lang/perl
	dev-perl/CDDB_get
	virtual/perl-Getopt-Long
	media-sound/cdparanoia
	media-libs/flac
	media-sound/vorbis-tools
	normalize? ( >=media-sound/sox-12.17.4 )
	!normalize? ( media-sound/vorbisgain )"

src_install() {
	dobin crip editcomment editfilenames
	dodoc Changelog README TODO criprc_example
}

pkg_postinst() {
	elog "A sample .criprc file has been installed as ${ROOT}usr/share/doc/${PF}/criprc_example.gz"
}