add libvmime
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2504 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
80019de5af
commit
e688dee49d
3
dev-cpp/libvmime/Manifest
Normal file
3
dev-cpp/libvmime/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST libvmime-0.7.1-zarafa-gentoo-3.tar.bz2 12709 RMD160 9b667319ba3e1e979167837a3e81384b3137ee2c SHA1 349ac4cd0c8458ae7a9750b619bfa4f52aa1e5e7 SHA256 bc4181fc82afaad048de9a76251f8973efdd1a6c7ff9cc7ea259e55a827f9b50
|
||||
DIST libvmime-0.7.1.tar.bz2 418302 RMD160 259983c8844108c8040bcbae2ea53e453a811124 SHA1 30fefbdd31c2fa46976984f18d4d21bf3c2ec20a SHA256 fc3476aec565341594c7c4dca982539695b61ecb92a438f19860e9130ca019e3
|
||||
EBUILD libvmime-0.7.1.ebuild 1583 RMD160 b2790c0785b9a00fff1d13ef0a310e5727e826bc SHA1 da72bfe8198a9d7cc890cd51f35b510fa901dc5f SHA256 d6be5835555e0d10673b9a65f5aaf309681f55fcaf0f15c71c9def828c6b0649
|
63
dev-cpp/libvmime/libvmime-0.7.1.ebuild
Normal file
63
dev-cpp/libvmime/libvmime-0.7.1.ebuild
Normal file
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Library for working with MIME messages and Internet messaging services like IMAP, POP or SMTP"
|
||||
HOMEPAGE="http://www.vmime.org"
|
||||
SRC_URI="mirror://sourceforge/vmime/${P}.tar.bz2
|
||||
http://ftp.disconnected-by-peer.at/zarafa/${P}-zarafa-gentoo-3.tar.bz2"
|
||||
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0.7"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug doc examples +imap +maildir +pop sasl sendmail +smtp ssl static"
|
||||
|
||||
RDEPEND="virtual/libiconv
|
||||
ssl? ( >=net-libs/gnutls-1.2.0 )
|
||||
sasl? ( virtual/gsasl )
|
||||
sendmail? ( virtual/mta )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SOURCE="${WORKDIR}/patches" EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" epatch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable debug) \
|
||||
$(use_enable static) \
|
||||
$(use_enable sasl) \
|
||||
$(use_enable ssl tls) \
|
||||
$(use_enable pop messaging-proto-pop3) \
|
||||
$(use_enable smtp messaging-proto-smtp) \
|
||||
$(use_enable imap messaging-proto-imap) \
|
||||
$(use_enable maildir messaging-proto-maildir) \
|
||||
$(use_enable sendmail messaging-proto-sendmail)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use doc ; then
|
||||
doxygen vmime.doxygen || die "doxygen failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog || die "dodoc failed"
|
||||
if use doc ; then
|
||||
dohtml doc/html/* || die "dohtml failed"
|
||||
fi
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
if use examples ; then
|
||||
doins -r examples || die "doins examples failed"
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue
Block a user