From 84f570f19365e5f7d8381081b5606a0d6f5531d9 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 21 Feb 2007 22:27:52 +0000 Subject: mimetic --- (limited to 'dev-libs/mimetic/mimetic-0.9.1.ebuild') diff --git a/dev-libs/mimetic/mimetic-0.9.1.ebuild b/dev-libs/mimetic/mimetic-0.9.1.ebuild new file mode 100644 index 0000000..739b018 --- a/dev/null +++ b/dev-libs/mimetic/mimetic-0.9.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="MIME library written in C++ designed to be easy to use and integrate but yet fast and efficient." +HOMEPAGE="http://codesink.org/mimetic_mime_library.html" +SRC_URI="http://codesink.org/download/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="stlport doc examples" + +DEPEND="stlport? ( dev-libs/STLport )" + +src_compile() { + econf \ + $(use stlport && echo --with-stlport) \ + || die "econf failed" + emake || die "emake failed" + use doc && ( emake -C doc docs || die "emake docs failed" ) +} + +src_install() { + emake DESTDIR=${D} install || die "emake install failed" + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO + use doc && dohtml -r doc/html/* + if use examples ; then + docinto examples + dodoc examples/{README,TODO,test.msg,*.cxx,*.h} + fi +} -- cgit v0.9.0.2