diff options
Diffstat (limited to 'mail-filter/mailfilter/mailfilter-0.8.2.ebuild')
-rw-r--r-- | mail-filter/mailfilter/mailfilter-0.8.2.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mail-filter/mailfilter/mailfilter-0.8.2.ebuild b/mail-filter/mailfilter/mailfilter-0.8.2.ebuild new file mode 100644 index 000000000000..d857bfb85383 --- /dev/null +++ b/mail-filter/mailfilter/mailfilter-0.8.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils + +DESCRIPTION="Mailfilter is a utility to get rid of unwanted spam mails" +HOMEPAGE="http://mailfilter.sourceforge.net/" +SRC_URI="mirror://sourceforge/mailfilter/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd" +IUSE="" + +DEPEND="sys-devel/flex" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/0.8.2-gcc44.patch \ + "${FILESDIR}"/0.8.2-openssl-1.patch \ + "${FILESDIR}"/${PV}-gcc46.patch +} + +src_compile() { + emake -j1 || die #281069 +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc INSTALL doc/FAQ "${FILESDIR}"/rcfile.example{1,2} \ + README THANKS ChangeLog AUTHORS NEWS || die +} |