/[gentoo-x86]/net-libs/libmrss/libmrss-0.19.2.ebuild
Gentoo

Contents of /net-libs/libmrss/libmrss-0.19.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat May 5 02:54:30 2012 UTC (8 years, 6 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libmrss/libmrss-0.19.2.ebuild,v 1.6 2012/02/16 19:03:51 phajdan.jr Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="A C-library for parsing and writing RSS 0.91/0.92/1.0/2.0 files or streams"
8 HOMEPAGE="http://www.autistici.org/bakunin/libmrss/doc/"
9 SRC_URI="http://www.autistici.org/bakunin/${PN}/${P}.tar.gz"
10
11 LICENSE="LGPL-2.1"
12 SLOT="0"
13 KEYWORDS="amd64 ppc x86"
14 IUSE="doc examples static-libs"
15
16 RDEPEND=">=net-libs/libnxml-0.18.0
17 net-misc/curl"
18 DEPEND="${RDEPEND}
19 virtual/pkgconfig
20 doc? ( app-doc/doxygen )"
21
22 # TODO: php-bindings
23
24 src_configure() {
25 econf \
26 $(use_enable static-libs static)
27 }
28
29 src_compile() {
30 emake
31
32 if use doc; then
33 ebegin "Creating documentation"
34 doxygen doxy.conf || die "generating docs failed"
35 eend 0
36 fi
37 }
38
39 src_install() {
40 default
41
42 if use doc; then
43 dohtml doc/html/*
44 fi
45
46 if use examples; then
47 insinto /usr/share/doc/${PF}/test
48 doins test/*.c
49 fi
50
51 find "${D}" -name '*.la' -exec rm -f {} +
52 }

  ViewVC Help
Powered by ViewVC 1.1.20