blob: b2c91f20384eb2f5820417cde749a3a87f91a824 (
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
41
42
43
44
45
46
47
48
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-1.1.27.ebuild,v 1.3 2003/06/18 12:39:33 seemant Exp $
inherit eutils
IUSE="lirc"
S=${WORKDIR}/${P}
DESCRIPTION="Klaus Schmidingers Video Disk Recorder"
HOMEPAGE="http://www.cadsoft.de/people/kls/vdr"
SRC_URI="ftp://ftp.cadsoft.de/vdr/Developer/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
DEPEND="media-tv/linuxtv-dvb
sys-libs/ncurses
lirc? ( app-misc/lirc )
media-libs/jpeg"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-gentoo.diff
}
src_compile() {
local myconf=""
use lirc && myconf="${myconf} REMOTE=LIRC"
emake ${myconf} || die "make failed"
}
src_install () {
make DESTDIR=${D} install || die "install failed"
dodoc COPYING INSTALL README MANUAL CONTRIBUTORS HISTORY
dohtml PLUGINS.html
dodir /usr/share/doc/${PF}/scripts
insinto /usr/share/doc/${PF}/scripts
doins ${S}/epg2html.pl ${S}/runvdr ${S}/svdrpsend.pl
# install header files
dodir /usr/include/vdr
insinto /usr/include/vdr
doins *.h
}
|