summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2003-03-25 14:29:45 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2003-03-25 14:29:45 +0000
commitf30ebc779f8b5bfc7cfd80533fe7fb0ffde09afc (patch)
treef88cc03876c17c3230ce6c0cec08542fb79052f2 /media-video
parentUpdated ebuild and digest to reflect new version as the old one is no longer ... (diff)
downloadgentoo-2-f30ebc779f8b5bfc7cfd80533fe7fb0ffde09afc.tar.gz
gentoo-2-f30ebc779f8b5bfc7cfd80533fe7fb0ffde09afc.tar.bz2
gentoo-2-f30ebc779f8b5bfc7cfd80533fe7fb0ffde09afc.zip
fixing bug #18100
Diffstat (limited to 'media-video')
-rw-r--r--media-video/linuxtv-dvb/ChangeLog6
-rw-r--r--media-video/linuxtv-dvb/files/digest-linuxtv-dvb-1.0.0_pre2-r11
-rw-r--r--media-video/linuxtv-dvb/linuxtv-dvb-1.0.0_pre2-r1.ebuild117
3 files changed, 123 insertions, 1 deletions
diff --git a/media-video/linuxtv-dvb/ChangeLog b/media-video/linuxtv-dvb/ChangeLog
index d6f19a49b0a5..1a0fd1881360 100644
--- a/media-video/linuxtv-dvb/ChangeLog
+++ b/media-video/linuxtv-dvb/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for media-video/linuxtv-dvb
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/linuxtv-dvb/ChangeLog,v 1.4 2003/03/22 18:25:16 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/linuxtv-dvb/ChangeLog,v 1.5 2003/03/25 14:29:45 lordvan Exp $
+*linuxtv-dvb-1.0.0_pre2-r1 (25 Mar 2003)
+ 25 Mar 2003; Thomas Raschbacher <lordvan@gentoo.org>
+ new release to fix bug #18100 (dvbnet installed in /dvbnet)
+
*linuxtv-dvb-1.0.0_pre2 (19 Mar 2003)
22 Mar 2003; Martin Holzer <mholzer@gentoo.org>
diff --git a/media-video/linuxtv-dvb/files/digest-linuxtv-dvb-1.0.0_pre2-r1 b/media-video/linuxtv-dvb/files/digest-linuxtv-dvb-1.0.0_pre2-r1
new file mode 100644
index 000000000000..aca5e6ecbd81
--- /dev/null
+++ b/media-video/linuxtv-dvb/files/digest-linuxtv-dvb-1.0.0_pre2-r1
@@ -0,0 +1 @@
+MD5 ebe57b9cd27535c98df4017abff6d20f linuxtv-dvb-1.0.0-pre2.tar.gz 627453
diff --git a/media-video/linuxtv-dvb/linuxtv-dvb-1.0.0_pre2-r1.ebuild b/media-video/linuxtv-dvb/linuxtv-dvb-1.0.0_pre2-r1.ebuild
new file mode 100644
index 000000000000..c6915bd396c2
--- /dev/null
+++ b/media-video/linuxtv-dvb/linuxtv-dvb-1.0.0_pre2-r1.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/linuxtv-dvb/linuxtv-dvb-1.0.0_pre2-r1.ebuild,v 1.1 2003/03/25 14:29:45 lordvan Exp $
+
+DESCRIPTION="Standalone DVB driver for Linux kernel 2.4.x"
+HOMEPAGE="http://www.linuxtv.org"
+SRC_URI="http://www.linuxtv.org/download/dvb/${PN}-1.0.0-pre2.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/linux-sources"
+#RDEPEND=""
+S=${WORKDIR}/${PN}-1.0.0-pre2
+
+pkg_setup() {
+ einfo ""
+ einfo "Please make sure that the following option is enabled"
+ einfo "in your current kernel 'Multimedia devices'"
+ einfo "and /usr/src/linux point's to your current kernel"
+ einfo ""
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ # install the driver
+ cd ${S}/driver
+ mv Makefile Makefile.orig
+ # don't run depmod now!
+ sed s/'depmod'/'#depmod'/ Makefile.orig > Makefile
+ make DESTDIR=${D} install || die
+
+ # install av7110_loadkeys
+ dobin ${S}/apps/av7110_loadkeys/av7110_loadkeys \
+ ${S}/apps/av7110_loadkeys/evtest
+
+ # install dvbnet
+ cd ${S}/apps/dvbnet
+ make DESTDIR=${D}usr/bin install || die
+
+ # install scan
+ dobin ${S}/apps/scan/scan
+
+ # install szap
+ dobin ${S}/apps/szap/[tsc]zap
+ dodoc ${S}/apps/szap/channels.conf-dvb*
+
+ # 'install' test
+ dodir /usr/share/doc/${P}/test
+ insinto /usr/share/doc/${P}/test
+ doins ${S}/apps/test/*
+
+ # install headers
+ dodir /usr/include/linux
+ insinto /usr/include/linux
+ doins ${S}/include/linux/em8300.h
+
+ dodir /usr/include/linux/dvb
+ insinto /usr/include/linux/dvb
+ doins ${S}/include/linux/dvb/*.h
+
+
+ # install docs
+ dodoc ${S}/doc/*
+ dodoc ${S}/driver/makedev.napi
+ dodir /usr/share/doc/${P}/dvbapi
+ insinto /usr/share/doc/${P}/dvbapi
+ doins ${S}/doc/dvbapi/*
+
+ # install av7110_loadkeys docs
+ dodir /usr/share/doc/${P}/av7110_loadkeys
+ insinto /usr/share/doc/${P}/av7110_loadkeys
+ cd ${S}/apps/av7110_loadkeys
+ doins README *.rc5 *.rcmm
+
+ # install dvbnet scripts
+ dodir /usr/share/doc/${P}/dvbnet
+ insinto /usr/share/doc/${P}/dvbnet
+ doins ${S}/apps/dvbnet/net_start.*
+
+ # install scan docs
+ dodir /usr/share/doc/${P}/scan
+ insinto /usr/share/doc/${P}/scan
+ doins ${S}/apps/scan/README
+
+ # install test docs
+ dodir /usr/share/doc/${P}/test
+ insinto /usr/share/doc/${P}/test
+ doins ${S}/apps/test/README
+
+ cd ${S}
+ dodoc CONTRIBUTORS COPYING INSTALL README NEWS BUGS
+
+}
+
+pkg_postinst() {
+ depmod -a
+ einfo ""
+ einfo "If you don't use devfs, execute makedev.napi o create"
+ einfo "the device nodes. The file is in /usr/share/doc/${PV}/"
+ einfo ""
+ einfo "now copy an appropriate from"
+ einfo "/usr/share/doc/${P}/channels.conf-XXX"
+ einfo "channel list for DVB-S/C/T"
+ einfo " to ~/.szap/channels.conf"
+ einfo " ~/.czap/channels.conf"
+ einfo " ~/.tzap/channels.conf"
+ einfo "and then call szap for DVB-S, czap for DVB-C or tzap for DVB-T"
+ einfo ""
+}
+
+pkg_postrm() {
+ depmod -a
+}