summaryrefslogtreecommitdiff
path: root/dev-libs/mimetic
Side-by-side diff
Diffstat (limited to 'dev-libs/mimetic') (more/less context) (show whitespace changes)
-rw-r--r--dev-libs/mimetic/Manifest8
-rw-r--r--dev-libs/mimetic/files/digest-mimetic-0.9.13
-rw-r--r--dev-libs/mimetic/mimetic-0.9.1.ebuild34
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/mimetic/Manifest b/dev-libs/mimetic/Manifest
new file mode 100644
index 0000000..525c6c7
--- a/dev/null
+++ b/dev-libs/mimetic/Manifest
@@ -0,0 +1,8 @@
+DIST mimetic-0.9.1.tar.gz 424574 RMD160 47236b12948c1f41603d262767bf7de6baba7d53 SHA1 0a69c8fd2bf89702ce12cf982944eb3f99cc48ed SHA256 0ee293350c2d2b4adca38bc523c8b6903d44882f0bc52858c05da9f228e4f818
+EBUILD mimetic-0.9.1.ebuild 922 RMD160 3d2f21b9f27f3a2e99296a4337be6524ae33bfe6 SHA1 810d416f9ffc5cdcc2d10ce795e3bd3eeded8f27 SHA256 060889b7d348ea85da5739a7a5edfad315e10b5360d8efc7b717047c77de9947
+MD5 4be487b7854f34b06a30e4e51a2d7906 mimetic-0.9.1.ebuild 922
+RMD160 3d2f21b9f27f3a2e99296a4337be6524ae33bfe6 mimetic-0.9.1.ebuild 922
+SHA256 060889b7d348ea85da5739a7a5edfad315e10b5360d8efc7b717047c77de9947 mimetic-0.9.1.ebuild 922
+MD5 8e11c1206032245569f2e61ddf973694 files/digest-mimetic-0.9.1 241
+RMD160 a253a33d432a352efee73089505767302d643ac1 files/digest-mimetic-0.9.1 241
+SHA256 59454b083f2bd16445b34a38ee987e740eccfdf4fe424b6ba1fd29ab36410bad files/digest-mimetic-0.9.1 241
diff --git a/dev-libs/mimetic/files/digest-mimetic-0.9.1 b/dev-libs/mimetic/files/digest-mimetic-0.9.1
new file mode 100644
index 0000000..16dca14
--- a/dev/null
+++ b/dev-libs/mimetic/files/digest-mimetic-0.9.1
@@ -0,0 +1,3 @@
+MD5 4a36d2a7873927758f39b195751ea064 mimetic-0.9.1.tar.gz 424574
+RMD160 47236b12948c1f41603d262767bf7de6baba7d53 mimetic-0.9.1.tar.gz 424574
+SHA256 0ee293350c2d2b4adca38bc523c8b6903d44882f0bc52858c05da9f228e4f818 mimetic-0.9.1.tar.gz 424574
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
+}