diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-04-13 20:54:12 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-04-13 20:54:12 +0000 |
commit | 574d2628df9d1dad6ae528a6c772a9ecaa336025 (patch) | |
tree | 83d0adaa7cddd78b656540ff7f59c9c37bf1bf7e /media-video/vdr | |
parent | Adding initial ebuilid by myself. (diff) | |
download | gentoo-2-574d2628df9d1dad6ae528a6c772a9ecaa336025.tar.gz gentoo-2-574d2628df9d1dad6ae528a6c772a9ecaa336025.tar.bz2 gentoo-2-574d2628df9d1dad6ae528a6c772a9ecaa336025.zip |
Adding initial ebuilid by myself.
Diffstat (limited to 'media-video/vdr')
-rw-r--r-- | media-video/vdr/Manifest | 2 | ||||
-rw-r--r-- | media-video/vdr/files/digest-vdr-1.1.27 | 1 | ||||
-rw-r--r-- | media-video/vdr/files/vdr-1.1.27-gentoo.diff | 37 | ||||
-rw-r--r-- | media-video/vdr/vdr-1.1.27.ebuild | 35 |
4 files changed, 74 insertions, 1 deletions
diff --git a/media-video/vdr/Manifest b/media-video/vdr/Manifest index 4673b1dae675..c260c7849230 100644 --- a/media-video/vdr/Manifest +++ b/media-video/vdr/Manifest @@ -1,3 +1,3 @@ -MD5 96fc273f19008838e7c829d2b05ac3b8 vdr-1.1.27.ebuild 851 +MD5 612ef2b8bfd42b0033894ddbf8ace86f vdr-1.1.27.ebuild 949 MD5 ba8d55fa3c89f6743f01007e67529e37 files/digest-vdr-1.1.27 63 MD5 c83ab35c3973b06f5c72e1efc4c37c31 files/vdr-1.1.27-gentoo.diff 1015 diff --git a/media-video/vdr/files/digest-vdr-1.1.27 b/media-video/vdr/files/digest-vdr-1.1.27 new file mode 100644 index 000000000000..e902b362a2fe --- /dev/null +++ b/media-video/vdr/files/digest-vdr-1.1.27 @@ -0,0 +1 @@ +MD5 6c849f7d76587098acc49a810cda4669 vdr-1.1.27.tar.bz2 346069 diff --git a/media-video/vdr/files/vdr-1.1.27-gentoo.diff b/media-video/vdr/files/vdr-1.1.27-gentoo.diff new file mode 100644 index 000000000000..cc107676c8fa --- /dev/null +++ b/media-video/vdr/files/vdr-1.1.27-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 $(DESTDIR)$(VIDEODIR);\ ++ cp *.conf $(DESTDIR)$(VIDEODIR);\ + fi + + # Source documentation: diff --git a/media-video/vdr/vdr-1.1.27.ebuild b/media-video/vdr/vdr-1.1.27.ebuild new file mode 100644 index 000000000000..be30fead46c7 --- /dev/null +++ b/media-video/vdr/vdr-1.1.27.ebuild @@ -0,0 +1,35 @@ +# 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.1 2003/04/13 20:54:00 mholzer Exp $ + +inherit eutils + +S="${WORKDIR}/${P}" +DESCRIPTION="VDR - the DVB Video Disk Recorder" +SRC_URI="ftp://ftp.cadsoft.de/vdr/Developer/${P}.tar.bz2" +HOMEPAGE="http://www.cadsoft.de/people/kls/vdr" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +DEPEND="media-video/linuxtv-dvb + sys-libs/ncurses + media-libs/jpeg" + +src_unpack() { + unpack "${P}.tar.bz2" + cd "${S}" + epatch ${FILESDIR}/${P}-gentoo.diff +} + +src_compile() { + emake || 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 +} |