author | Michael Krelin <hacker@klever.net> | 2007-02-21 22:27:52 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-02-21 22:27:52 (UTC) |
commit | 84f570f19365e5f7d8381081b5606a0d6f5531d9 (patch) (unidiff) | |
tree | 5e9930d01bf8c21929f8ecef5c6fc88efba238e5 /dev-libs/mimetic/mimetic-0.9.1.ebuild | |
parent | 40092ef2fa69ab4c44b7c993913efc1ada4c070c (diff) | |
download | misc-84f570f19365e5f7d8381081b5606a0d6f5531d9.zip misc-84f570f19365e5f7d8381081b5606a0d6f5531d9.tar.gz misc-84f570f19365e5f7d8381081b5606a0d6f5531d9.tar.bz2 |
mimetic
Diffstat (limited to 'dev-libs/mimetic/mimetic-0.9.1.ebuild') (more/less context) (ignore whitespace changes)
-rw-r--r-- | dev-libs/mimetic/mimetic-0.9.1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
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 @@ | |||
1 | # Copyright 1999-2007 Gentoo Foundation | ||
2 | # Distributed under the terms of the GNU General Public License v2 | ||
3 | # $Header: $ | ||
4 | |||
5 | inherit eutils | ||
6 | |||
7 | DESCRIPTION="MIME library written in C++ designed to be easy to use and integrate but yet fast and efficient." | ||
8 | HOMEPAGE="http://codesink.org/mimetic_mime_library.html" | ||
9 | SRC_URI="http://codesink.org/download/${P}.tar.gz" | ||
10 | LICENSE="GPL-2" | ||
11 | SLOT="0" | ||
12 | KEYWORDS="~amd64 ~x86" | ||
13 | |||
14 | IUSE="stlport doc examples" | ||
15 | |||
16 | DEPEND="stlport? ( dev-libs/STLport )" | ||
17 | |||
18 | src_compile() { | ||
19 | econf \ | ||
20 | $(use stlport && echo --with-stlport) \ | ||
21 | || die "econf failed" | ||
22 | emake || die "emake failed" | ||
23 | use doc && ( emake -C doc docs || die "emake docs failed" ) | ||
24 | } | ||
25 | |||
26 | src_install() { | ||
27 | emake DESTDIR=${D} install || die "emake install failed" | ||
28 | dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO | ||
29 | use doc && dohtml -r doc/html/* | ||
30 | if use examples ; then | ||
31 | docinto examples | ||
32 | dodoc examples/{README,TODO,test.msg,*.cxx,*.h} | ||
33 | fi | ||
34 | } | ||