Files
@ 794dc86717e2
Branch filter:
Location: portage-overlay.git/media-video/r5u870/r5u870-2.6.30.ebuild - annotation
794dc86717e2
1.3 KiB
application/vnd.gentoo.ebuild
initial commit of main tree
794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 794dc86717e2 | # Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit linux-mod
DESCRIPTION="Driver for webcams based on the Ricoh r5u870 chip"
HOMEPAGE="http://www.palmix.org/r5u870-en.html"
SRC_URI="amd64? ( http://www.palmix.org/download/${PN}_k${PV}_amd64.tar.bz2 )
x86? ( http://www.palmix.org/download/${PN}_k${PV}_i386.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}/${PN}"
MODULE_NAMES="r5u870(media/video:) usbcam/usbcam(media/video:)"
CONFIG_CHECK="VIDEO_V4L2 VIDEO_V4L1_COMPAT FW_LOADER
VIDEO_VIVI V4L_USB_DRIVERS"
MODULESD_R5U870_DOCS="readme"
BUILD_TARGETS="all"
src_unpack() {
unpack ${A}
cd "${S}"
}
src_install () {
linux-mod_src_install
insinto /$(get_libdir)/firmware
doins *.fw
insinto /usr/share/doc/${P}
#doins "${FILESDIR}/vivi-dmasg-config.patch"
}
pkg_setup () {
# ewarn "If you get warnings about missing symbols, you may need to apply"
# ewarn "the supplied patch and rebuild your kernel, as follows:"
# ewarn
# ewarn " # cd /usr/src/linux"
# ewarn " # < /usr/share/doc/${P}/vivi-dmasg-config.patch \| patch -p1"
# ewarn
# ewarn "Alternatively, you can edit the .config file and make sure that"
# ewarn "VIDEOBUF_DMA_SG, VIDEOBUF_GEN and VIDEOBUF_VMALLOC are set"
# ebeep 5 && epause
linux-mod_pkg_setup
}
|