diff options
Diffstat (limited to 'net-mail/vmailmgr-tools/vmailmgr-tools-0.2-r2.ebuild')
-rw-r--r-- | net-mail/vmailmgr-tools/vmailmgr-tools-0.2-r2.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-mail/vmailmgr-tools/vmailmgr-tools-0.2-r2.ebuild b/net-mail/vmailmgr-tools/vmailmgr-tools-0.2-r2.ebuild new file mode 100644 index 000000000000..cb9e9e5df7d6 --- /dev/null +++ b/net-mail/vmailmgr-tools/vmailmgr-tools-0.2-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/vmailmgr-tools/vmailmgr-tools-0.2-r2.ebuild,v 1.1 2009/06/20 11:16:30 mrness Exp $ + +EAPI="2" + +inherit toolchain-funcs eutils fixheadtails + +DESCRIPTION="Add-on tools for use with vmailmgr" +HOMEPAGE="http://untroubled.org/vmailmgr-tools/" +SRC_URI="http://untroubled.org/vmailmgr-tools/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND="net-mail/vmailmgr" + +src_prepare() { + epatch "${FILESDIR}/${P}-gcc34.patch" + epatch "${FILESDIR}/${P}-quota.patch" + ht_fix_file "${S}/Makefile" +} + +src_configure() { + echo "${D}/usr/bin" > conf-bin + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld +} + +src_install() { + dodir /usr/bin + ./installer || die "install failed" + + doman *.1 + dodoc ANNOUNCEMENT NEWS README VERSION +} |