# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/openobex/openobex-1.4.ebuild,v 1.2 2009/02/18 00:24:00 mrness Exp $ EAPI="2" DESCRIPTION="An implementation of the OBEX protocol used for transferring data to mobile devices" HOMEPAGE="http://sourceforge.net/projects/openobex/" SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" IUSE="bluetooth debug irda syslog usb" RDEPEND="usb? ( dev-libs/libusb )" DEPEND="${RDEPEND} dev-util/pkgconfig" src_configure() { econf \ --enable-apps \ $(use_enable irda) \ $(use_enable bluetooth) \ $(use_enable usb) \ $(use_enable debug) \ $(use_enable debug dump) \ $(use_enable syslog) } src_install () { emake DESTDIR="${D}" install || die "make install failed" dodoc README AUTHORS NEWS ChangeLog }