blob: 8bd85f4e42951bb67857ad2947ad02b02527cd8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openobex/openobex-1.2-r1.ebuild,v 1.8 2007/01/05 07:41:26 flameeyes Exp $
inherit autotools eutils
DESCRIPTION="An implementation of the OBEX protocol used for transferring data to mobile devices"
HOMEPAGE="http://sourceforge.net/projects/openobex"
SRC_URI="mirror://sourceforge/openobex/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
IUSE="bluetooth debug irda syslog usb"
KEYWORDS="amd64 ~hppa ppc ppc64 sparc x86"
RDEPEND="usb? ( dev-libs/libusb )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-as-needed.patch"
eautoreconf
}
src_compile() {
econf --enable-apps \
$(use_enable irda) \
$(use_enable bluetooth) \
$(use_enable usb) \
$(use_enable debug) \
$(use_enable debug dump) \
$(use_enable syslog) || die "econf failed"
emake || die "emake failed"
}
src_install () {
make DESTDIR="${D}" install || die "make install failed"
dodoc README AUTHORS NEWS ChangeLog
}
|