summaryrefslogtreecommitdiff
blob: 3439d6e8a1efa073ddeabf08826adac5a93b10d1 (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
# Copyright 1999-2009 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.13.ebuild,v 1.2 2009/01/21 11:44:31 mescalinum Exp $

inherit versionator

DESCRIPTION="SynCE - common library"
HOMEPAGE="http://sourceforge.net/projects/synce/"
LICENSE="MIT"

synce_PV=$(get_version_component_range 1-2)

SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="hal"
DEPEND=">=dev-libs/check-0.8.3.1"
RDEPEND="${DEPEND}"

SRC_URI="mirror://sourceforge/synce/libsynce-${PV}.tar.gz"
S="${WORKDIR}/libsynce-${PV}"

src_compile() {
	econf $(use_enable hal hal-support) || die
	emake || die
}

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