summaryrefslogtreecommitdiff
blob: 5e37b2352d92f8f460a53ec1fa881641949a666d (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libical/libical-0.26.6.ebuild,v 1.10 2006/08/31 17:37:06 blubb Exp $

IUSE=""

DESCRIPTION="libical is an implementation of basic iCAL protocols"
HOMEPAGE="http://www.aurore.net/projects/libical/"
SRC_URI="http://www.aurore.net/projects/libical/${PN}-0.26-6.aurore.tar.bz2"

RDEPEND="virtual/libc"

DEPEND="${RDEPEND}
	>=sys-devel/bison-1.875d
	>=sys-devel/flex-2.5.4a-r6
	>=sys-apps/gawk-3.1.4-r4
	>=dev-lang/perl-5.8.7-r3"

SLOT="0"
LICENSE="MPL-1.1 LGPL-2"
KEYWORDS="alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"

S=${WORKDIR}/libical-0.26

src_compile()
{
	# Fix 66377
	LDFLAGS="${LDFLAGS} -lpthread" econf || die "Configuration failed"
	emake || die "Compilation failed"
}

src_install ()
{
	einstall || die "Installation failed..."
}