summaryrefslogtreecommitdiff
blob: 972fea2098dedc1ca15816a2d5e65ca5f7f22050 (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
32
33
34
35
36
37
38
39
40
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: phoen][x <eqc_phoenix@gmx.de>
# Maintainer: Matthew Kennedy <mkennedy@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/media-video/dvdrip/dvdrip-0.39.ebuild,v 1.1 2002/04/21 23:47:03 mkennedy Exp

MY_P=${P/dvdr/Video-DVDR}
# Next three lines are to handle PRE versions
MY_P=${MY_P/_pre/_}
MY_URL="dist"
[ "${P/pre}" != "${P}" ] && MY_URL="dist/pre"
S=${WORKDIR}/${MY_P}
DESCRIPTION="dvd::rip is a graphical frontend for transcode"
SRC_URI="http://www.exit1.org/dvdrip/${MY_URL}/${MY_P}.tar.gz"
HOMEPAGE="http://www.exit1.org/dvdrip/"

DEPEND=">=media-video/transcode-0.6.0_pre4-r1
	media-gfx/imagemagick
	gnome-extra/gtkhtml
	dev-perl/gtk-perl
	dev-perl/Storable
	dev-perl/Event"

RDEPEND="${DEPEND}
	>=net-analyzer/fping-2.3"

src_compile() {
	perl Makefile.PL
	emake || die
}

src_install () {
	make PREFIX=${D}/usr \
		INSTALLMAN3DIR=${D}/usr/share/man/man3 \
		INSTALLMAN1DIR=${D}/usr/share/man/man1 \
		install || die
	dodoc Changes MANIFEST README TODO
	cp -a ${S}/contrib ${D}/usr/share/doc/${P}
}