summaryrefslogtreecommitdiff
blob: 3d7f60d341f6f8c98fb58e0a9214a8c0e0e1f830 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/undvd/undvd-0.7.5.ebuild,v 1.6 2011/04/21 21:25:26 radhermit Exp $

EAPI=2

DESCRIPTION="Simple dvd ripping command line app"
HOMEPAGE="http://sourceforge.net/projects/undvd/"
SRC_URI="http://downloads.sourceforge.net/${PN}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="css ffmpeg matroska ogm xvid"

RDEPEND="sys-apps/coreutils
	>=dev-lang/perl-5.8.8
	media-video/lsdvd
	media-video/mplayer[encode,dvd,mp3,x264,xvid?]
	css? ( media-libs/libdvdcss
		media-video/vobcopy )
	ffmpeg? ( virtual/ffmpeg )
	matroska? ( media-video/mkvtoolnix )
	ogm? ( media-sound/ogmtools )"
DEPEND=""

src_install() {
	emake DESTDIR="${D}" DOC="/usr/share/doc/${PF}" \
		install || die
}