diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-03-13 15:29:36 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-03-13 15:29:36 +0000 |
commit | 2f8609938ce91b34202c3b64797d8f84fb0478fa (patch) | |
tree | 1a858099c5d87a90961c7ad5839e8fdf671b8f2c /media-plugins/vdr-channelscan/vdr-channelscan-0.2.0.ebuild | |
parent | Stable on sparc (diff) | |
download | gentoo-2-2f8609938ce91b34202c3b64797d8f84fb0478fa.tar.gz gentoo-2-2f8609938ce91b34202c3b64797d8f84fb0478fa.tar.bz2 gentoo-2-2f8609938ce91b34202c3b64797d8f84fb0478fa.zip |
Initial import of ebuild written by me.
(Portage version: 2.1_pre6-r2)
Diffstat (limited to 'media-plugins/vdr-channelscan/vdr-channelscan-0.2.0.ebuild')
-rw-r--r-- | media-plugins/vdr-channelscan/vdr-channelscan-0.2.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/media-plugins/vdr-channelscan/vdr-channelscan-0.2.0.ebuild b/media-plugins/vdr-channelscan/vdr-channelscan-0.2.0.ebuild new file mode 100644 index 000000000000..27bebc15c89a --- /dev/null +++ b/media-plugins/vdr-channelscan/vdr-channelscan-0.2.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-channelscan/vdr-channelscan-0.2.0.ebuild,v 1.1 2006/03/13 15:29:36 zzam Exp $ + +inherit vdr-plugin + +IUSE="" +SLOT="0" + +DESCRIPTION="vdr Plugin: Channel Scanner" +HOMEPAGE="http://kikko77.altervista.org/" +SRC_URI="http://www.reelbox.org/software/source/vdr-plugins/${P}.tgz" +LICENSE="GPL-2" + +KEYWORDS="~x86" + +DEPEND=">=media-video/vdr-1.3.18" + +pkg_setup() +{ + vdr-plugin_pkg_setup + if ! grep -q scanning_on_receiving_device ${ROOT}/usr/include/vdr/device.h; then + ewarn "your vdr needs to be patched to use vdr-channelscan" + die "unpatched vdr detected" + fi +} + +src_unpack() { + vdr-plugin_src_unpack + sed -e 's-libsi/-vdr/libsi/-g' -i filter.h +} + +src_install() { + vdr-plugin_src_install + + cd ${S}/transponders + insinto /usr/share/vdr/channelscan/transponders + doins *.ini + + insinto /etc/vdr/plugins + dosym /usr/share/vdr/channelscan/transponders /etc/vdr/plugins/transponders +} |