# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/isight-firmware-tools/isight-firmware-tools-1.0.2.ebuild,v 1.1 2008/02/18 22:44:32 eva Exp $ inherit eutils DESCRIPTION="Extract, load or export firmware for the iSight webcams" HOMEPAGE="http://bersace03.free.fr/ift/" SRC_URI="http://bersace03.free.fr/ift/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="dev-libs/glib dev-libs/libusb dev-libs/libgcrypt" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/ift-ldadd.diff" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" } pkg_postinst() { elog "You need to extract your firmware prior to being able to loading it" elog "ift-extract --apple-driver /macos/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/Contents/MacOS/AppleUSBVideoSupport" elog "If you do not have OSX you can get AppleUSBVideoSupport from" elog "http://www.mediafire.com/?81xtkqyttjt" }