diff options
Diffstat (limited to 'app-text/hypermail/hypermail-2.2.0.ebuild')
-rw-r--r-- | app-text/hypermail/hypermail-2.2.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-text/hypermail/hypermail-2.2.0.ebuild b/app-text/hypermail/hypermail-2.2.0.ebuild new file mode 100644 index 0000000..76c001c --- /dev/null +++ b/app-text/hypermail/hypermail-2.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +# Source: http://bugs.gentoo.org/show_bug.cgi?id=88428 +# Submitted-By: Christoph Bussenius <spam@der-pepe.de> +# Reviewed-By: wrobel 2005-12-14 + +inherit eutils toolchain-funcs autotools + +DESCRIPTION="Make HTML archives out of mailboxes" +HOMEPAGE="http://www.hypermail-project.org/" +SRC_URI="http://www.hypermail-project.org/$P.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="gdbm" + +DEPEND="gdbm? ( sys-libs/gdbm )" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i -e '/^stripprog=/s:${STRIPPROG-strip}::' install-sh || die "sed failed" + # This patch makes DESTDIR work for make install + epatch "${FILESDIR}"/destdir.patch + eautoreconf +} + +src_compile() { + # fix cross-compile + tc-export CC + + econf \ + --with-htmldir=/usr/share/doc/${PF}/html \ + $(use_with gdbm) + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + dodoc Changelog KNOWN_BUGS README TODO UPGRADE || die 'dodoc failed' +} |