/[gentoo-x86]/media-video/streamdvd/streamdvd-0.4-r1.ebuild
Gentoo

Contents of /media-video/streamdvd/streamdvd-0.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Sat Jan 22 21:12:37 2005 UTC (9 years, 6 months ago) by luckyduck
Branch: MAIN
Changes since 1.6: +3 -2 lines
added missing dependency and missing gui in IUSE. fixes #69664
(Portage version: 2.0.51-r14)

1 luckyduck 1.6 # Copyright 1999-2005 Gentoo Foundation
2 tantive 1.1 # Distributed under the terms of the GNU General Public License v2
3 luckyduck 1.7 # $Header: /var/cvsroot/gentoo-x86/media-video/streamdvd/streamdvd-0.4-r1.ebuild,v 1.6 2005/01/15 21:33:59 luckyduck Exp $
4 tantive 1.1
5     DESCRIPTION="fast tool to backup Video DVDs 'on the fly'"
6     HOMEPAGE="http://www.badabum.de/streamdvd.html"
7     SRC_URI="http://www.badabum.de/down/${P}.tar.gz"
8    
9     LICENSE="GPL-2"
10     SLOT="0"
11 kugelfang 1.5 KEYWORDS="~x86 ~ppc ~amd64"
12 tantive 1.1
13 luckyduck 1.7 IUSE="gui"
14 chriswhite 1.4
15 tantive 1.1 DEPEND="media-libs/libdvdread
16     gui? ( dev-perl/perl-tk
17 luckyduck 1.7 dev-perl/Tk-JPEG-Lite
18 luckyduck 1.6 virtual/cdrtools
19 mr_bones_ 1.2 >=media-video/dvdauthor-0.6.5
20     >=app-cdr/dvd+rw-tools-5.13.4.7.4 )"
21 tantive 1.1
22     S="${WORKDIR}/StreamDVD-${PV}"
23    
24     src_unpack() {
25     unpack ${A}
26     cd ${S} || die
27     sed -i "s: -g -Wall : ${CFLAGS} :" Makefile
28     use gui && epatch "${FILESDIR}/${P}.patch"
29     }
30    
31     src_compile() {
32     emake all addon || die # compile also optional packages
33     }
34    
35     src_install() {
36     dobin streamdvd streamanalyze
37     newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd
38     dodoc COPYING README
39     newdoc contrib/lsdvd/AUTHORS AUTHORS.lsdvd
40     newdoc contrib/lsdvd/README README.lsdvd
41     newdoc contrib/StreamAnalyze/README README.streamanalyze
42 mr_bones_ 1.2 if use gui
43 tantive 1.1 then
44     eval `perl '-V:installvendorlib'`
45     insinto "$installvendorlib/StreamDVD"
46     doins Gui/StreamDVD/*.pm
47     dobin Gui/StreamDVD.pl
48     dosym StreamDVD.pl /usr/bin/streamdvd_gui # convinience symlink
49     newdoc Gui/README README.gui
50     fi
51     }

  ViewVC Help
Powered by ViewVC 1.1.20