mail-mta/mailhog-bin - 1.0.1 (inode64-overlay)

Search

Package Information

Description:
Runs an SMTP server, catches and displays email in a web interface.
Homepage:
https://github.com/mailhog/MailHog/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.0.1 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Runs an SMTP server, catches and displays email in a web interface."
HOMEPAGE="https://github.com/mailhog/MailHog/"
SRC_URI="https://github.com/mailhog/MailHog/releases/download/v${PV}/MailHog_linux_amd64 -> ${P}.bin"

S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

src_unpack() {
	return
}

src_compile() {
	return
}

src_prepare() {
	default

	# doins doesn't allow installing straight from DISTDIR.
	cp "${DISTDIR}"/${P}.bin ${PN} || die "Failed to prepare theme file."
}

src_install() {
	exeinto /usr/bin
	doexe ${PN}

	newinitd "${FILESDIR}"/mailhog.init mailhog
	newconfd "${FILESDIR}"/mailhog.conf mailhog
}

Manifest for 1.0.1

Type File Size Source URLs
DIST mailhog-bin-1.0.1.bin 13367472 bytes https://github.com/mailhog/MailHog/releases/download/v1.0.1/MailHog_linux_amd64