blob: 9d5d2916eee2683888797be4930ada7a4e7ed3a6 (
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
39
40
41
42
43
44
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm/ezmlm-0.53.ebuild,v 1.13 2003/07/19 15:38:32 taviso Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Simple yet powerful mailing list manager for qmail."
SRC_URI="http://cr.yp.to/software/${P}.tar.gz"
HOMEPAGE="http://cr.yp.to/software/ezmlm.html"
SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 sparc ~ppc ~alpha"
DEPEND=" sys-apps/groff"
RDEPEND="net-mail/qmail"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/ezmlm-0.53-errno.patch
}
src_compile() {
cd ${S}
mkdir tmp
echo "/usr/bin" > conf-bin
echo "/usr/share/man" > conf-man
echo "gcc ${CFLAGS}" > conf-cc
echo "gcc" > conf-ld
emake || die
}
src_install () {
exeinto /usr/bin
doexe ezmlm-list ezmlm-make ezmlm-manage \
ezmlm-reject ezmlm-return ezmlm-send \
ezmlm-sub ezmlm-unsub ezmlm-warn ezmlm-weed
doman ezmlm-list.1 ezmlm-make.1 ezmlm-manage.1 \
ezmlm-reject.1 ezmlm-return.1 ezmlm-send.1 \
ezmlm-sub.1 ezmlm-unsub.1 ezmlm-warn.1 ezmlm-weed.1 \
ezmlm.5
}
|