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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Apr 8 10:08:46 2015 UTC (4 years, 9 months ago) by chithanh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +5 -3 lines
Remove -Werror from build, bug #545398. Adjust kernel configuration log message.

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x2324E7B566DF2611!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/usbip/usbip-3.19.ebuild,v 1.1 2015/03/17 15:49:16 chithanh Exp $
4
5 EAPI=5
6 ETYPE="sources"
7 K_NOUSENAME=1
8 inherit autotools eutils kernel-2
9
10 DESCRIPTION="Userspace utilities for a general USB device sharing system over IP networks"
11 HOMEPAGE="http://www.kernel.org/"
12 SRC_URI="${KERNEL_URI}"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="static-libs tcpd"
18 RESTRICT=""
19
20 RDEPEND=">=dev-libs/glib-2.6
21 sys-apps/hwids
22 >=sys-kernel/linux-headers-3.17
23 virtual/libudev
24 tcpd? ( sys-apps/tcp-wrappers )"
25 DEPEND="${RDEPEND}
26 virtual/pkgconfig"
27
28 DOCS="AUTHORS README ../../../drivers/usb/usbip/usbip_protocol.txt"
29
30 S=${WORKDIR}/linux-${PV}/tools/usb/${PN}
31
32 src_prepare() {
33 # remove -Werror from build, bug #545398
34 sed -i 's/-Werror[^ ]* //g' configure.ac || die
35 eautoreconf
36 }
37
38 src_configure() {
39 econf \
40 $(use_enable static-libs static) \
41 $(use tcpd || echo --without-tcp-wrappers) \
42 --with-usbids-dir=/usr/share/misc
43 }
44
45 src_install() {
46 default
47 prune_libtool_files
48 }
49
50 pkg_postinst() {
51 elog "For using USB/IP you need to enable USBIP_VHCI_HCD in the client"
52 elog "machine's kernel config and USBIP_HOST on the server."
53 }

  ViewVC Help
Powered by ViewVC 1.1.20