# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A library that allows communication with Google Calendar and Contacts" HOMEPAGE="http://code.google.com/p/libgcal/" SRC_URI="http://libgcal.googlecode.com/files/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="doc" # tested with those versions RDEPEND=">=dev-libs/libxml2-2.6.31 >=net-misc/curl-7.17.1" DEPEND="${RDEPEND} doc? ( >=app-doc/doxygen-1.5.5 )" PVV=${PV:0:3} S=${WORKDIR}/${PN}-${PVV} src_compile() { econf || die "econf failed" emake || die "emake failed" use doc && make doxygen } src_install() { #emake DESTDIR="${D}" install || die "emake install failed" einstall || die "einstall failed" dodoc README use doc && dohtml -r docs/doxygen/html/* }