diff options
Diffstat (limited to 'media-video/reelbox-ehd-driver/reelbox-ehd-driver-12133.ebuild')
-rw-r--r-- | media-video/reelbox-ehd-driver/reelbox-ehd-driver-12133.ebuild | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/media-video/reelbox-ehd-driver/reelbox-ehd-driver-12133.ebuild b/media-video/reelbox-ehd-driver/reelbox-ehd-driver-12133.ebuild deleted file mode 100644 index 87b4d72..0000000 --- a/media-video/reelbox-ehd-driver/reelbox-ehd-driver-12133.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit linux-mod eutils - -DESCRIPTION="eHD PCI card; driver svn r${PV}" -HOMEPAGE="http://www.reel-multimedia.com" -SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -DEPEND=">=media-video/reelbox-ehd-bin-${PV}" -RDEPEND=${DEPEND} - -S=${WORKDIR}/hdshm3 - -MODULE_NAMES="hdshm(misc:${S}/x86/driver)" -BUILD_TARGETS="all" - -pkg_setup() { - if ! kernel_is 2 6; then - die "This package works only with 2.6 kernel!" - fi - - linux-mod_pkg_setup - - BUILD_PARAMS="INCLUDE=${KV_DIR}" -} - -src_prepare() { - - if [ ! -z "$EHD_FRAMEBUFFER" ] - then - einfo "Changing framebuffer device to $EHD_FRAMEBUFFER" - find . -type f -exec sed -i "s:/dev/fb0:${EHD_FRAMEBUFFER}:g" {} \; - fi - - if kernel_is ge 2 6 26 ; then - sed -i "${S}"/src/driver/hdshm.c \ - -e "s:pci_get_device_reverse:pci_get_device:" \ - -e "s:class_device_create:device_create:" \ - -e "s:class_device_destroy:device_destroy:" - fi -} |