summaryrefslogtreecommitdiff
blob: 300e19d01028784c29076c06256f5f54d86bd87a (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

DESCRIPTION="C library for the Flickr API"
HOMEPAGE="http://librdf.org/flickcurl/"
SRC_URI="http://download.dajobe.org/${PN}/${P}.tar.gz"

LICENSE="LGPL-2.1 GPL-2 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc +raptor"

RDEPEND=">=dev-libs/libxml2-2.6.8
	>=net-misc/curl-7.10.0
	raptor? ( >=media-libs/raptor-1.4.16 )"
DEPEND="${RDEPEND}
	doc? ( >=dev-util/gtk-doc-1.3 )"

src_configure() {
	econf --enable-shave \
		--enable-capture \
		$(use_with raptor) \
		$(use_enable doc gtk-doc)
}

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