diff options
Diffstat (limited to 'net-mail/altermime/altermime-0.3.8.ebuild')
-rw-r--r-- | net-mail/altermime/altermime-0.3.8.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-mail/altermime/altermime-0.3.8.ebuild b/net-mail/altermime/altermime-0.3.8.ebuild new file mode 100644 index 000000000000..65631f29a9c2 --- /dev/null +++ b/net-mail/altermime/altermime-0.3.8.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/altermime/altermime-0.3.8.ebuild,v 1.1 2007/07/14 12:08:58 tove Exp $ + +inherit toolchain-funcs + +DESCRIPTION=" alterMIME is a small program which is used to alter your mime-encoded mailpacks" +SRC_URI="http://www.pldaniels.com/altermime/${P}.tar.gz" +HOMEPAGE="http://pldaniels.com/altermime/" + +LICENSE="Sendmail" +KEYWORDS="~amd64 ~ppc ~s390 ~x86" +IUSE="" +SLOT="0" + +src_unpack() { + unpack ${A} + sed -i -e "/^CFLAGS[[:space:]]*=/ s/-O2/${CFLAGS}/" \ + -e 's/${CFLAGS} altermime.c/${CFLAGS} ${LDFLAGS} altermime.c/' \ + "${S}"/Makefile || die "sed failed." +} + +src_compile() { + emake CC="$(tc-getCC)" || die "emake failed." +} + +src_install () { + dobin altermime || die "dobin failed." + dodoc CHANGELOG LICENCE README || die "dodoc failed." +} |