/[gentoo-x86]/net-misc/usbip/usbip-3.6.ebuild
Gentoo

Contents of /net-misc/usbip/usbip-3.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Nov 18 14:25:38 2012 UTC (7 years, 3 months ago) by ssuominen
Branch: MAIN
Version bump

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 ssuominen 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/net-misc/usbip/usbip-0.1.7.ebuild,v 1.2 2012/05/05 03:20:43 jdhore Exp $
4    
5     EAPI=5
6     inherit autotools eutils
7    
8     DESCRIPTION="Userspace utilities for a general USB device sharing system over IP networks"
9     HOMEPAGE="http://www.kernel.org/"
10     SRC_URI="mirror://kernel/linux/kernel/v${PV%.*}.0/linux-${PV}.tar.bz2"
11    
12     LICENSE="GPL-2"
13     SLOT="0"
14     KEYWORDS="~amd64 ~x86"
15     IUSE="static-libs tcpd"
16    
17     RDEPEND=">=dev-libs/glib-2.6
18     sys-apps/hwids
19     >=sys-fs/sysfsutils-2
20     tcpd? ( sys-apps/tcp-wrappers )"
21     DEPEND="${RDEPEND}
22     virtual/pkgconfig"
23    
24     DOCS="AUTHORS README ../usbip_protocol.txt"
25    
26     S=${WORKDIR}/linux-${PV}/drivers/staging/${PN}/userspace
27    
28     src_prepare() {
29     eautoreconf
30     }
31    
32     src_configure() {
33     econf \
34     $(use_enable static-libs static) \
35     $(use_with tcpd tcp-wrappers) \
36     --with-usbids-dir=/usr/share/misc
37     }
38    
39     src_install() {
40     default
41     prune_libtool_files
42     }
43    
44     pkg_postinst() {
45     elog "For using USB/IP you need to enable USB_IP_VHCI_HCD in the client"
46     elog "machine's kernel config and USB_IP_HOST on the server."
47     }

  ViewVC Help
Powered by ViewVC 1.1.20