diff options
Diffstat (limited to 'dev-libs/uriparser/uriparser-0.5.2.ebuild')
-rw-r--r-- | dev-libs/uriparser/uriparser-0.5.2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/uriparser/uriparser-0.5.2.ebuild b/dev-libs/uriparser/uriparser-0.5.2.ebuild new file mode 100644 index 000000000000..51eb666121ab --- /dev/null +++ b/dev-libs/uriparser/uriparser-0.5.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/uriparser/uriparser-0.5.2.ebuild,v 1.1 2007/09/13 10:51:00 rbu Exp $ + +DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in C" +HOMEPAGE="http://uriparser.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +LICENSE="BSD" +SLOT="0" + +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +src_compile() { + econf || die "configure failed" + emake || die "emake failed" + + if use doc; then + ebegin "Creating documentation" + cd "${S}/doc" + doxygen Doxyfile + eend 0 + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog + + if use doc; then + dohtml doc/html/* + fi +} |