summaryrefslogtreecommitdiff
blob: 125ce9fa6e0de309457c6ec54f5244dc0145e934 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/renattach/renattach-1.2.2.ebuild,v 1.1 2005/03/07 20:23:48 xmerlin Exp $

inherit eutils

DESCRIPTION="Filter that renames/deletes dangerous email attachments."
SRC_URI="http://www.pc-tools.net/files/unix/${P}.tar.gz"
HOMEPAGE="http://www.pc-tools.net/unix/renattach/"

DEPEND="virtual/libc"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE=""

src_compile() {
	econf || die "configure error"
	emake || die "build error"
}

src_install () {
	emake DESTDIR=${D} install || die "install error"
	mv ${D}/etc/renattach.conf.ex ${D}/etc/renattach.conf

	dodoc AUTHORS ChangeLog README COPYING INSTALL NEWS
}