1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils autotools
9 DESCRIPTION="An implementation of the OBEX protocol used for transferring data to mobile devices"
10 HOMEPAGE="https://sourceforge.net/projects/openobex/"
11 SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz"
13 LICENSE="GPL-2 LGPL-2.1"
15 KEYWORDS="amd64 arm hppa ppc ppc64 sparc x86"
16 IUSE="bluetooth debug irda syslog usb"
18 RDEPEND="bluetooth? ( net-wireless/bluez )
19 usb? ( virtual/libusb:0 )"
24 epatch "${FILESDIR}"/${P}-use-flags.patch
25 sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
33 $(use_enable bluetooth) \
36 $(use_enable debug dump) \
41 emake DESTDIR="${D}" install || die "make install failed"
42 dodoc README AUTHORS NEWS ChangeLog