blob: 760e00af49023d9b06cef138ec9e3edea38bb79f (
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
31
32
33
34
35
36
37
38
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/smtptools/smtptools-0.2.3.ebuild,v 1.10 2006/03/12 09:43:58 vapier Exp $
inherit eutils
DESCRIPTION="A collection of tools to send or receive mails with SMTP"
HOMEPAGE="http://www.ohse.de/uwe/software/${PN}.html"
SRC_URI="ftp://ftp.ohse.de/uwe/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh x86"
IUSE=""
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-cleanups.patch
}
src_compile() {
# the configure check looks for the symbol name 'dn_expand' in
# libresolv but later glibc's use the internal symbol name
# '__dn_expand' and macro 'dn_expand' to '__dn_expand' in the
# resolv.h header file ... lets force the func to be detected.
ac_cv_lib_resolv_dn_expand="yes" \
econf || die
emake || die
}
src_install() {
make DESTDIR="${D}" install || die "Installer failed"
dodoc AUTHORS README README.cvs README.smtpblast \
README.tomaildir README.usmtpd TODO
}
|