You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/libmrss/libmrss-0.17.1.ebuild

45 lines
1.0 KiB

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libmrss/libmrss-0.17.1.ebuild,v 1.6 2011/09/26 21:56:36 radhermit Exp $
DESCRIPTION="A C-library for parsing and writing RSS 0.91/0.92/1.0/2.0 files or streams"
HOMEPAGE="http://www.autistici.org/bakunin/libmrss/doc/"
SRC_URI="http://www.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
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
}