diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-05-03 22:56:02 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-05-03 22:56:02 +0000 |
commit | e20d9d1191d7761244ed02ea66de263ba75f2e87 (patch) | |
tree | 2daad7ec025cbd0670c32e6d37e43f269b66890b /media-video/qc-usb/qc-usb-0.6.3.ebuild | |
parent | New version. Initially with a binary for x86-fbsd. (diff) | |
download | gentoo-2-e20d9d1191d7761244ed02ea66de263ba75f2e87.tar.gz gentoo-2-e20d9d1191d7761244ed02ea66de263ba75f2e87.tar.bz2 gentoo-2-e20d9d1191d7761244ed02ea66de263ba75f2e87.zip |
Use linux-mod corrrectly, thanks to Gert-Jan Rodenburg <hertog@home.nl> and Alon Bar-Lev <alon.barlev@gmail.com> in bug 129828, also remove old patches
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'media-video/qc-usb/qc-usb-0.6.3.ebuild')
-rw-r--r-- | media-video/qc-usb/qc-usb-0.6.3.ebuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/media-video/qc-usb/qc-usb-0.6.3.ebuild b/media-video/qc-usb/qc-usb-0.6.3.ebuild index caad9d5f0dc4..74cf23eca8ad 100644 --- a/media-video/qc-usb/qc-usb-0.6.3.ebuild +++ b/media-video/qc-usb/qc-usb-0.6.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/qc-usb-0.6.3.ebuild,v 1.6 2006/04/11 16:56:30 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/qc-usb-0.6.3.ebuild,v 1.7 2006/05/03 22:56:02 genstef Exp $ inherit linux-mod eutils multilib @@ -13,8 +13,14 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~ppc ~amd64" +CONFIG_CHECK="USB VIDEO_DEV" +MODULE_NAMES="quickcam(usb:)" +BUILD_TARGETS="all" + pkg_setup() { ABI=${KERNEL_ABI} + linux-mod_pkg_setup + BUILD_PARAMS="LINUX_DIR=${KV_DIR}" } src_unpack() { @@ -23,19 +29,16 @@ src_unpack() { # Linux 2.6.16 compatibility, bug #127018 epatch ${FILESDIR}/${P}-linux-2.6.16.patch -} - -src_compile() { - emake LINUX_DIR=${KERNEL_DIR} all || die + convert_to_m ${S}/Makefile + epatch ${FILESDIR}/qc-usb-gcc4.patch } src_install() { - insinto /lib/modules/${KV}/drivers/usb - doins quickcam.${KV_OBJ} + linux-mod_src_install + dobin qcset dodoc README* APPLICATIONS COPYING CREDITS TODO FAQ insinto /usr/share/doc/${PF} doins quickcam.sh debug.sh freeshm.sh } - |