summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-12-12 14:56:20 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-12-12 14:56:20 +0000
commit4d5044c72de612e69f99727faf46710a59516741 (patch)
tree0ddc0c440d02a85a711d6d016757cf7a8d7d3495 /media-video/vdr
parentversion bump (diff)
downloadhistorical-4d5044c72de612e69f99727faf46710a59516741.tar.gz
historical-4d5044c72de612e69f99727faf46710a59516741.tar.bz2
historical-4d5044c72de612e69f99727faf46710a59516741.zip
version bump
Diffstat (limited to 'media-video/vdr')
-rw-r--r--media-video/vdr/Manifest5
-rw-r--r--media-video/vdr/files/digest-vdr-1.2.62
-rw-r--r--media-video/vdr/files/vdr-1.2.6-gentoo.diff37
-rw-r--r--media-video/vdr/vdr-1.2.6.ebuild45
4 files changed, 87 insertions, 2 deletions
diff --git a/media-video/vdr/Manifest b/media-video/vdr/Manifest
index 863bba62aa8e..bb39f7d2c879 100644
--- a/media-video/vdr/Manifest
+++ b/media-video/vdr/Manifest
@@ -1,6 +1,7 @@
-MD5 be9adc3bab3b25e1fdff9e7812ea9e64 vdr-1.2.6.ebuild 1161
+MD5 9cc8db9d6f20c71a1c2f8a050440c69a vdr-1.2.6.ebuild 1125
MD5 75f2e8815a4c5e8e7b7e85ef2339905e vdr-1.1.27.ebuild 1102
-MD5 0f879a676e544deb08942dd8ec60903b ChangeLog 403
+MD5 6f56756263f0756b68ac9cf51b38d474 ChangeLog 511
MD5 b3a6e3e266b35959b76b35fbd9468bae files/digest-vdr-1.2.6 131
MD5 ba8d55fa3c89f6743f01007e67529e37 files/digest-vdr-1.1.27 63
+MD5 f9cb5e275f4c900343205158c2b0d4fb files/vdr-1.2.6-gentoo.diff 1018
MD5 c83ab35c3973b06f5c72e1efc4c37c31 files/vdr-1.1.27-gentoo.diff 1015
diff --git a/media-video/vdr/files/digest-vdr-1.2.6 b/media-video/vdr/files/digest-vdr-1.2.6
new file mode 100644
index 000000000000..3f28909b08b9
--- /dev/null
+++ b/media-video/vdr/files/digest-vdr-1.2.6
@@ -0,0 +1,2 @@
+MD5 2ccef18b8418da429bad230732603603 vdr-1.2.6.tar.bz2 367069
+MD5 d9bb0429b06a4204f5db8b17f4dee0a0 linuxtv-dvb-1.0.1.tar.gz 676625
diff --git a/media-video/vdr/files/vdr-1.2.6-gentoo.diff b/media-video/vdr/files/vdr-1.2.6-gentoo.diff
new file mode 100644
index 000000000000..3ffcb9972a70
--- /dev/null
+++ b/media-video/vdr/files/vdr-1.2.6-gentoo.diff
@@ -0,0 +1,37 @@
+--- Makefile.org 2003-03-11 21:30:41.000000000 +0000
++++ Makefile 2003-03-11 21:47:14.000000000 +0000
+@@ -16,8 +16,8 @@
+
+ DVBDIR = ../DVB
+ DTVDIR = ./libdtv
+-MANDIR = /usr/local/man
+-BINDIR = /usr/local/bin
++MANDIR = /usr/man
++BINDIR = /usr/bin
+
+ PLUGINDIR= ./PLUGINS
+
+@@ -117,12 +117,18 @@
+ # Install the files:
+
+ install:
+- @cp vdr runvdr $(BINDIR)
+- @gzip -c vdr.1 > $(MANDIR)/man1/vdr.1.gz
+- @gzip -c vdr.5 > $(MANDIR)/man5/vdr.5.gz
++ @mkdir -p $(DESTDIR)$(BINDIR)
++ @mkdir -p $(BINDIR)
++ @cp vdr runvdr $(DESTDIR)$(BINDIR)
++ @mkdir -p $(DESTDIR)$(MANDIR)/man1
++ @mkdir -p $(DESTDIR)$(MANDIR)/man5
++ @mkdir -p $(MANDIR)/man1
++ @mkdir -p $(MANDIR)/man5
++ @gzip -c vdr.1 > $(DESTDIR)$(MANDIR)/man1/vdr.1.gz
++ @gzip -c vdr.5 > $(DESTDIR)$(MANDIR)/man5/vdr.5.gz
+ @if [ ! -d $(VIDEODIR) ]; then\
+- mkdir $(VIDEODIR);\
+- cp *.conf $(VIDEODIR);\
++ mkdir -p $(DESTDIR)$(VIDEODIR);\
++ cp *.conf $(DESTDIR)$(VIDEODIR);\
+ fi
+
+ # Source documentation:
diff --git a/media-video/vdr/vdr-1.2.6.ebuild b/media-video/vdr/vdr-1.2.6.ebuild
new file mode 100644
index 000000000000..e5664b8f8868
--- /dev/null
+++ b/media-video/vdr/vdr-1.2.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-1.2.6.ebuild,v 1.1 2003/12/12 14:56:16 aliz Exp $
+
+inherit eutils
+
+DESCRIPTION="Klaus Schmidingers Video Disk Recorder"
+HOMEPAGE="http://www.cadsoft.de/people/kls/vdr"
+SRC_URI="ftp://ftp.cadsoft.de/vdr/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="lirc"
+
+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="VIDEODIR=/etc/vdr"
+ use lirc && myconf="${myconf} REMOTE=LIRC"
+ emake ${myconf} || die "make failed"
+}
+
+src_install() {
+ make VIDEODIR=/etc/vdr 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
+}