Add mail-client/mblaze
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
36
mail-client/mblaze/mblaze-1.4.ebuild
Normal file
36
mail-client/mblaze/mblaze-1.4.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature
|
||||
|
||||
DESCRIPTION="Utilities to work with Maildir"
|
||||
HOMEPAGE="https://github.com/leahneukirchen/mblaze"
|
||||
SRC_URI="https://mirror.chaotic.ninja/software/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="gnupg msendmail"
|
||||
|
||||
DEPEND="
|
||||
gnupg? ( app-crypt/gnupg )
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
use gnupg && dobin contrib/mencrypt
|
||||
use msendmail && dobin contrib/msendmail
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "fetching e-mail" net-mail/fdm
|
||||
optfeature "fetching e-mail" net-mail/isync
|
||||
optfeature "sending e-mail" mail-mta/msmtp
|
||||
optfeature "sending e-mail" mail-mta/esmtp
|
||||
}
|
||||
Reference in New Issue
Block a user