# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="User-space driver for USB-enabled Olympus DVRs that do not support the USB Mass Storage." HOMEPAGE="http://code.google.com/p/odvr/" SRC_URI="http://odvr.googlecode.com/files/${PF}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=" dev-libs/libusb media-libs/libsndfile" RDEPEND=" sys-fs/udev dev-libs/libusb media-libs/libsndfile" src_unpack() { unpack $A cd "${S}" epatch "${FILESDIR}/makefile.diff" } src_compile() { make DESTDIR=${D} } src_install() { make DESTDIR=${D} install } pkg_postinst() { elog "" elog "You will need to reload udev rules prior running ${PN}:" elog "# udevadm control --reload-rules" elog "" }