summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2007-07-14 16:11:31 +0000
committerRobert Buchholz <rbu@gentoo.org>2007-07-14 16:11:31 +0000
commit87cfd0fcd0af55a8a2386ce9cc01c848acefb0f9 (patch)
tree9fd8ecc0398be60a92ea53b17e15b835efbcbf68 /net-libs/libmrss/libmrss-0.18.0.ebuild
parentalpha stable (diff)
downloadhistorical-87cfd0fcd0af55a8a2386ce9cc01c848acefb0f9.tar.gz
historical-87cfd0fcd0af55a8a2386ce9cc01c848acefb0f9.tar.bz2
historical-87cfd0fcd0af55a8a2386ce9cc01c848acefb0f9.zip
Version bump
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'net-libs/libmrss/libmrss-0.18.0.ebuild')
-rw-r--r--net-libs/libmrss/libmrss-0.18.0.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/net-libs/libmrss/libmrss-0.18.0.ebuild b/net-libs/libmrss/libmrss-0.18.0.ebuild
new file mode 100644
index 000000000000..0028a1dc983b
--- /dev/null
+++ b/net-libs/libmrss/libmrss-0.18.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libmrss/libmrss-0.18.0.ebuild,v 1.1 2007/07/14 16:11:31 rbu Exp $
+
+DESCRIPTION="A C-library for parsing and writing RSS 0.91/0.92/1.0/2.0 files or streams"
+HOMEPAGE="http://www2.autistici.org/bakunin/codes.php"
+SRC_URI="http://www2.autistici.org/bakunin/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc examples"
+
+RDEPEND=">=net-libs/libnxml-0.18.0
+ net-misc/curl"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+src_compile() {
+ econf || die "configure failed"
+
+ emake || die "make failed"
+
+ if use doc; then
+ ebegin "Creating documentation"
+ doxygen doxy.conf
+ eend 0
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+
+ if use doc; then
+ dohtml doc/html/*
+ fi
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/test
+ doins test/*.c
+ fi
+}