summaryrefslogtreecommitdiff
blob: 0dd847fe1e1ad498bc41f3732d7bf80a995d1953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/normalizemime/normalizemime-1.15.ebuild,v 1.6 2005/06/05 12:00:09 hansmi Exp $

inherit toolchain-funcs

DESCRIPTION="Helper program to normalize MIME encoded messages."
HOMEPAGE="http://hyvatti.iki.fi/~jaakko/spam/"
SRC_URI="http://hyvatti.iki.fi/~jaakko/spam/${PN}.cc"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""

DEPEND="sys-devel/gcc
	virtual/libc"

src_unpack() {
	mkdir ${S}
	cp ${DISTDIR}/${A} ${S}
	cd ${S}
}

src_compile() {
	$(tc-getCXX) ${CXXFLAGS} -o normalizemime normalizemime.cc
}

src_install() {
	dobin normalizemime
}