/[gentoo-x86]/media-video/undvd/undvd-0.4.0.ebuild
Gentoo

Contents of /media-video/undvd/undvd-0.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Dec 12 05:03:59 2008 UTC (10 years, 10 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6/cvs/Linux 2.6.27.7 i686)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/undvd/undvd-0.4.0.ebuild,v 1.1 2008/03/04 21:42:56 gregkh Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Simple dvd ripping command line app"
8 HOMEPAGE="http://sourceforge.net/projects/undvd/"
9 SRC_URI="http://downloads.sourceforge.net/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-3"
12 SLOT="0"
13 KEYWORDS="~x86"
14 IUSE="css xvid"
15
16 DEPEND="sys-apps/coreutils
17 app-shells/bash
18 sys-apps/findutils
19 sys-apps/gawk
20 sys-apps/grep
21 sys-process/procps
22 sys-apps/sed
23 media-video/lsdvd
24 media-video/mplayer
25 css? (
26 media-libs/libdvdcss
27 media-video/vobcopy
28 sys-apps/util-linux
29 )"
30 RDEPEND="${DEPEND}"
31
32 pkg_setup() {
33 einfo "Checking mplayer for USE flags we need..."
34 for f in "encode dvd x264 mp3"; do
35 if ! built_with_use media-video/mplayer $f; then
36 eerror "$f"
37 die "mplayer merged without $f USE flag"
38 fi
39 done
40
41 if use xvid; then
42 if ! built_with_use media-video/mplayer xvid; then
43 eerror "xvid missing. This means you cannot encode to xvid."
44 die "mplayer merged without xvid USE flag"
45 fi
46 fi
47
48 einfo "everything seems to be in order"
49 }
50
51 src_unpack() {
52 unpack ${A}
53 cd "${WORKDIR}"
54 }
55
56 src_install() {
57 emake DESTDIR="${D}" install || die "Install failed"
58 }

  ViewVC Help
Powered by ViewVC 1.1.20