diff options
author | Sam James <sam@gentoo.org> | 2020-09-15 00:34:22 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-09-15 00:34:22 +0000 |
commit | 8c314cafb4bd106b0ceecf1294e71f5e9bcf6d6e (patch) | |
tree | 476658f794f087066a2c63891d56e48126793d1e /net-mail/serialmail | |
parent | net-misc/taylor-uucp: modernise ebuild (diff) | |
download | gentoo-8c314cafb4bd106b0ceecf1294e71f5e9bcf6d6e.tar.gz gentoo-8c314cafb4bd106b0ceecf1294e71f5e9bcf6d6e.tar.bz2 gentoo-8c314cafb4bd106b0ceecf1294e71f5e9bcf6d6e.zip |
net-mail/serialmail: bump to EAPI 7
Bug: https://bugs.gentoo.org/742239
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-mail/serialmail')
-rw-r--r-- | net-mail/serialmail/serialmail-0.75-r5.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/net-mail/serialmail/serialmail-0.75-r5.ebuild b/net-mail/serialmail/serialmail-0.75-r5.ebuild new file mode 100644 index 000000000000..dff981e6190b --- /dev/null +++ b/net-mail/serialmail/serialmail-0.75-r5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A serialmail is a collection of tools for passing mail across serial links" +HOMEPAGE="http://cr.yp.to/serialmail.html" +SRC_URI="http://cr.yp.to/software/${P}.tar.gz + mirror://gentoo/${P}-patch.tar.bz2" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="static" +RESTRICT="mirror bindist" + +BDEPEND="sys-apps/groff" +DEPEND=">=sys-apps/ucspi-tcp-0.88" +RDEPEND=" + ${DEPEND} + virtual/daemontools +" + +PATCHES=( + "${WORKDIR}"/${P}-gentoo.patch + "${WORKDIR}"/${P}-smtpauth.patch + "${WORKDIR}"/${P}-smtpauth_comp.patch + "${FILESDIR}"/${P}-implicit.patch +) + +src_prepare() { + default + + sed -i "s|@CFLAGS@|${CFLAGS}|" conf-cc || die + use static && LDFLAGS="${LDFLAGS} -static" + sed -i "s|@LDFLAGS@|${LDFLAGS}|" conf-ld || die +} + +src_compile() { + sed -i -e '/(man|doc)/d' hier.c || die + emake it man +} + +src_install() { + dobin serialsmtp serialqmtp maildirsmtp maildirserial maildirqmtp + + dodoc AUTOTURN CHANGES FROMISP SYSDEPS THANKS TOISP \ + BLURB FILES INSTALL README TARGETS TODO VERSION + + doman maildirqmtp.1 maildirserial.1 maildirsmtp.1 \ + serialqmtp.1 serialsmtp.1 +} |