/[gentoo-x86]/media-libs/flickcurl/flickcurl-1.23.ebuild
Gentoo

Contents of /media-libs/flickcurl/flickcurl-1.23.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Dec 16 13:48:08 2012 UTC (21 months ago) by ago
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #441366

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/flickcurl/flickcurl-1.23.ebuild,v 1.2 2012/12/08 22:08:31 ago Exp $
4
5 EAPI="4"
6
7 inherit autotools eutils
8
9 DESCRIPTION="C library for the Flickr API"
10 HOMEPAGE="http://librdf.org/flickcurl/"
11 SRC_URI="http://download.dajobe.org/flickcurl/${P}.tar.gz"
12
13 LICENSE="|| ( LGPL-2.1 GPL-2 Apache-2.0 )"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="doc raptor static-libs"
17
18 RDEPEND=">=net-misc/curl-7.10.0
19 >=dev-libs/libxml2-2.6.8:2
20 raptor? ( media-libs/raptor:2 )"
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig"
23
24 src_prepare() {
25 if ! use doc ; then
26 # Only install html documentation when the use flag is enabled
27 sed -i -e '/gtk-doc.make/d' \
28 -e 's:+=:=:' docs/Makefile.am || die
29 fi
30
31 eautoreconf
32 }
33
34 src_configure() {
35 econf \
36 $(use_with raptor) \
37 $(use_enable static-libs static)
38 }
39
40 src_install() {
41 emake DESTDIR="${D}" TARGET_DIR=/usr/share/doc/${PF}/html install
42 dodoc AUTHORS ChangeLog NEWS README
43 prune_libtool_files
44 }

  ViewVC Help
Powered by ViewVC 1.1.20