diff options
Diffstat (limited to 'app-misc/email2trac/email2trac-1.4.0.ebuild')
-rw-r--r-- | app-misc/email2trac/email2trac-1.4.0.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app-misc/email2trac/email2trac-1.4.0.ebuild b/app-misc/email2trac/email2trac-1.4.0.ebuild new file mode 100644 index 000000000000..d6a2227c0e0b --- /dev/null +++ b/app-misc/email2trac/email2trac-1.4.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/email2trac/email2trac-1.4.0.ebuild,v 1.1 2010/05/29 06:37:32 hollow Exp $ + +EAPI="2" + +inherit python + +DESCRIPTION="Utilites to convert emails into trac objects" +HOMEPAGE="https://subtrac.sara.nl/oss/email2trac/" +SRC_URI="ftp://ftp.sara.nl/pub/outgoing/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="" +RDEPEND="" + +pkg_setup() { + einfo "You can set the following variables in make.conf:" + einfo " - EMAIL2TRAC_TRAC_USER (default: apache)" + einfo " - EMAIL2TRAC_MTA_USER (default: nobody)" +} + +src_configure() { + econf --sysconfdir=/etc/${PN}/ \ + --with-trac_user=${EMAIL2TRAC_TRAC_USER:-apache} \ + --with-MTA_user=${EMAIL2TRAC_MTA_USER:-nobody} +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} |