diff options
-rw-r--r-- | media-tv/linuxtv-dvb/Manifest | 6 | ||||
-rw-r--r-- | media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.0.1 | 1 | ||||
-rw-r--r-- | media-tv/linuxtv-dvb/linuxtv-dvb-1.0.1.ebuild | 122 | ||||
-rw-r--r-- | media-tv/linuxtv-dvb/metadata.xml | 6 |
4 files changed, 132 insertions, 3 deletions
diff --git a/media-tv/linuxtv-dvb/Manifest b/media-tv/linuxtv-dvb/Manifest index ec816ec7818a..7f0cbedbfe90 100644 --- a/media-tv/linuxtv-dvb/Manifest +++ b/media-tv/linuxtv-dvb/Manifest @@ -1,8 +1,8 @@ MD5 7c6cc40387676510c3fbc738e9e388e7 linuxtv-dvb-1.0.0_pre2-r2.ebuild 3134 -MD5 7c6cc40387676510c3fbc738e9e388e7 linuxtv-dvb-1.0.1.ebuild~ 3134 MD5 02afa13c9b39f868d2f237caf14715ca linuxtv-dvb-1.0.0_pre2-r1.ebuild 2888 -MD5 f1f99aaec97e539697705225c4e75524 ChangeLog 1357 -MD5 aedd8982668d5968b212a770d436261a linuxtv-dvb-1.0.1.ebuild 3122 +MD5 20826872669e672d5d77fd41b94df114 ChangeLog 1508 +MD5 6e77f3196f8735be5ba01cafd0c6b1bc metadata.xml 219 +MD5 0ac9a4cffa1bc4ce98d42f7c5cb86fc0 linuxtv-dvb-1.0.1.ebuild 3103 MD5 e1f301cd0191586916bc7c3cd2b02288 files/dvb 179 MD5 d2fe0d162036705e62a8498c876425e4 files/digest-linuxtv-dvb-1.0.1 69 MD5 f7b660880f7e9eb4f5fdafaf794dfbe6 files/digest-linuxtv-dvb-1.0.0_pre2-r1 74 diff --git a/media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.0.1 b/media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.0.1 new file mode 100644 index 000000000000..51dbf4d3d0f8 --- /dev/null +++ b/media-tv/linuxtv-dvb/files/digest-linuxtv-dvb-1.0.1 @@ -0,0 +1 @@ +MD5 d9bb0429b06a4204f5db8b17f4dee0a0 linuxtv-dvb-1.0.1.tar.gz 676625 diff --git a/media-tv/linuxtv-dvb/linuxtv-dvb-1.0.1.ebuild b/media-tv/linuxtv-dvb/linuxtv-dvb-1.0.1.ebuild new file mode 100644 index 000000000000..fca487eb23ce --- /dev/null +++ b/media-tv/linuxtv-dvb/linuxtv-dvb-1.0.1.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb/linuxtv-dvb-1.0.1.ebuild,v 1.1 2003/10/02 06:25:53 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/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" +DEPEND="virtual/linux-sources" +#RDEPEND="" +S=${WORKDIR}/${P} + +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 "or make will die." + 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 + dodoc ${FILESDIR}/dvb + +} + +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/${PF}/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 "" + einfo "If you'd like to load all modules at once, unpack and add" + einfo "/usr/share/doc/${PF}/dvb.gz to /etc/modules.d/" + einfo "then run #update-modules to update your modules.conf" + einfo "" +} + +pkg_postrm() { + depmod -a +} diff --git a/media-tv/linuxtv-dvb/metadata.xml b/media-tv/linuxtv-dvb/metadata.xml new file mode 100644 index 000000000000..5a3dd3f227d9 --- /dev/null +++ b/media-tv/linuxtv-dvb/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>lordvan@gentoo.org</email></maintainer> +</pkgmetadata> |