diff options
author | Michael Weber <xmw@gentoo.org> | 2016-05-30 21:35:01 +0200 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2016-05-30 21:35:21 +0200 |
commit | dc4ae2f989754df1a3fc973a4c42105666e44cb3 (patch) | |
tree | 2fe84bf35ee3fabd7f7a73697f570e08cd47aba6 /net-mail/fdm/fdm-1.9.ebuild | |
parent | mate-base/mate: Add ~arm keyword wrt bug #508072 (diff) | |
download | gentoo-dc4ae2f989754df1a3fc973a4c42105666e44cb3.tar.gz gentoo-dc4ae2f989754df1a3fc973a4c42105666e44cb3.tar.bz2 gentoo-dc4ae2f989754df1a3fc973a4c42105666e44cb3.zip |
net-mail/fdm: Version bump (thanks Wonko7, https://github.com/gentoo/gentoo/pull/1550/).
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'net-mail/fdm/fdm-1.9.ebuild')
-rw-r--r-- | net-mail/fdm/fdm-1.9.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-mail/fdm/fdm-1.9.ebuild b/net-mail/fdm/fdm-1.9.ebuild new file mode 100644 index 000000000000..7864c00a9e6e --- /dev/null +++ b/net-mail/fdm/fdm-1.9.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib toolchain-funcs user + +DESCRIPTION="fetch, filter and deliver mail" +HOMEPAGE="https://github.com/nicm/fdm" +SRC_URI="https://github.com/nicm/fdm/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="courierauth examples libressl pcre" + +DEPEND="!libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sys-libs/tdb + courierauth? ( net-libs/courier-authlib ) + pcre? ( dev-libs/libpcre )" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewuser _fdm +} + +src_compile() { + emake CC="$(tc-getCC)" \ + COURIER=$(use courierauth && echo 1) \ + PCRE=$(use pcre && echo 1) +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr MANDIR=/usr/share/man install + dodoc CHANGES README TODO MANUAL + if use examples ; then + docinto examples + dodoc examples/* + fi +} |