summaryrefslogtreecommitdiff
path: root/dev-libs/mimetic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/mimetic
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/mimetic')
-rw-r--r--dev-libs/mimetic/Manifest3
-rw-r--r--dev-libs/mimetic/metadata.xml10
-rw-r--r--dev-libs/mimetic/mimetic-0.9.8.ebuild48
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-libs/mimetic/Manifest b/dev-libs/mimetic/Manifest
new file mode 100644
index 000000000000..066b7f4596d6
--- /dev/null
+++ b/dev-libs/mimetic/Manifest
@@ -0,0 +1,3 @@
+DIST mimetic-0.9.8.tar.gz 556716 BLAKE2B 16dcd2a869a5ec92f8aeffca52f41aa1773ad1446302cf827d25ac27c407bcb7e59ed3f8868a00102ec19ef874da440e72f80cb42150a20dfd962af5173901f8 SHA512 4157eecb3e26af314d475c91192a357d6da35271a07a07b037d5037e9af84952ce2636874e86df0e94e8887dcfdb8f594a1ba04e6448181e436b0e2675f48f58
+EBUILD mimetic-0.9.8.ebuild 902 BLAKE2B 33656bde8ec41e87e3029814e7e45ba717a69c1f94d189543b98c317e6aa95dd5231cb381fc3884371ee4d08196e5d9b68e017211b493e056dc2312406b66deb SHA512 0133eebcbaa4de6bb4dc623b5fa6b58edc954d1fb058cdf092c73ef60bcc88aed0bcb29d46176c70d412496e45ba53f655fe00614f0f32f25e2739e865c6d514
+MISC metadata.xml 293 BLAKE2B 34185556fb4bbb3af0e496075cd2422d5025f963a30d168715dfe6b941562ba8c3a734b975fce56b7078f6013c5eccf71b004d074beb7db11a4370b3669bde66 SHA512 83880131b4ea4a31515c133e27dac9deb71563c05baafbade66750aa0d00404ab51d42cea9dbd3f8774a36f3464c06e812578aca7fc17370507a9c74f4849fc4
diff --git a/dev-libs/mimetic/metadata.xml b/dev-libs/mimetic/metadata.xml
new file mode 100644
index 000000000000..f15aa1f11854
--- /dev/null
+++ b/dev-libs/mimetic/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jkt@kde.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>kensington@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-libs/mimetic/mimetic-0.9.8.ebuild b/dev-libs/mimetic/mimetic-0.9.8.ebuild
new file mode 100644
index 000000000000..ffa4669138a1
--- /dev/null
+++ b/dev-libs/mimetic/mimetic-0.9.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="C++ MIME library designed to be easy to use and integrate, fast and efficient."
+HOMEPAGE="http://www.codesink.org/mimetic_mime_library.html"
+SRC_URI="http://www.codesink.org/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc examples"
+
+DEPEND="doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ default
+
+ sed -i -e "s|../doxygen.css|doxygen.css|" doc/header.html || die
+
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static
+}
+
+src_compile() {
+ default
+ use doc && emake -C doc docs
+}
+
+src_install() {
+ default
+
+ use doc && dodoc -r doc/html/
+
+ if use examples ; then
+ docinto examples
+ dodoc examples/{README,TODO,test.msg,*.cxx,*.h}
+ fi
+
+ rm "${D}"/usr/$(get_libdir)/libmimetic.la || die
+}