summaryrefslogtreecommitdiff
blob: 94ca2a2dcd5ea580429a1f342689227315d3c4c3 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-libsynce/synce-libsynce-0.15.ebuild,v 1.4 2010/11/04 19:54:59 ssuominen Exp $

EAPI=2

DESCRIPTION="SynCE - common library"
HOMEPAGE="http://sourceforge.net/projects/synce/"
SRC_URI="mirror://sourceforge/synce/libsynce-${PV}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="dbus static-libs"

RDEPEND="dbus? ( >=dev-libs/dbus-glib-0.60 )"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

S=${WORKDIR}/libsynce-${PV}

src_configure() {
	econf \
		--disable-dependency-tracking \
		$(use_enable static-libs static) \
		--enable-dccm-file-support \
		$(use_enable dbus odccm-support) \
		--disable-hal-support
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc ChangeLog README TODO

	find "${D}" -name '*.la' -exec rm -f '{}' +
}