Created
November 3, 2011 17:22
-
-
Save wingrunr21/1337104 to your computer and use it in GitHub Desktop.
Ceton 1.7 ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2006 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
EAPI="2" | |
inherit eutils versionator linux-mod | |
DESCRIPTION="Ceton InfiniTV Linux Drivers" | |
HOMEPAGE="http://cetoncorp.com/infinitv_support/linux-drivers/" | |
SRC_URI="http://cetoncorp.com/downloads/ceton_infinitv_linux_driver_1_7.tar.gz" | |
LICENSE="GPL-2" | |
SLOT="0" | |
KEYWORDS="~amd64 ~x86" | |
DEPEND="virtual/linux-sources" | |
S="${WORKDIR}/ceton_infinitv_linux_driver" | |
MODULE_NAMES="ctn91xx(misc:${S})" | |
BUILD_TARGETS="ctn91xx" | |
pkg_setup() { | |
linux-mod_pkg_setup | |
BUILD_PARAMS="KERNEL_DIR=${KV_DIR} KERNEL_VERSION=${KV_FULL}" | |
} | |
src_prepare() { | |
cd "${S}" | |
rm Module.symvers | |
sed -e 's:KERNEL_VERSION \:=:#KERNEL_VERSION \:=:g' -i Makefile | |
sed -e 's:KERNEL_DIR\t\:= :#KERNEL_DIR\t\:= :g' -i Makefile | |
sed -e 's:ifdef CROSS_COMPILE:ifdef USE_CROSS_COMPILE:g' -i Makefile | |
} | |
src_install() { | |
linux-mod_src_install | |
insinto /etc/udev/rules.d/ | |
doins 98-ctn91xx.rules | |
} |
Ceton fixed the problem in version 1.5 of their drivers. Ebuild updated to version 1.6
Ebuild updated to version 1.7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ebuild originally from http://code.google.com/p/theebuilds/source/browse/trunk/net-misc/ceton/ceton-1.3.ebuild. Updated for version and patch for the DMA mask.