# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit autotools DESCRIPTION="Userspace utilities for a general USB device sharing system over IP networks" HOMEPAGE="http://usbip.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug" RDEPEND="sys-fs/sysfsutils sys-apps/tcp-wrappers dev-libs/glib" DEPEND="${RDEPEND} dev-util/pkgconfig >=sys-devel/automake-1.9 sys-devel/libtool" S="${WORKDIR}/${P}/src" src_prepare() { eautoreconf } src_install() { emake DESTDIR="${D}" install || die "Installing userspace tools failed" dodoc README || die } pkg_postinst() { elog "For using USB/IP you need to enable USB_IP_VHCI_HCD in the client" elog "machine's kernel config and USB_IP_HOST on the server." }