blob: 558c1ebbd85266d9b1863928d24a5286e01718fb (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Jerry Alexandratos <jerry@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-mail/maildrop/maildrop-1.2.2-r3.ebuild,v 1.2 2001/05/29 17:28:19 achim Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Mail delivery agent/filter"
SRC_URI="http://download.sourceforge.net/courier/${A}"
HOMEPAGE="http://www.flounder.net/~mrsam/maildrop/index.html"
DEPEND="virtual/glibc
>=sys-libs/gdbm-1.8.0
virtual/mta
sys-devel/perl"
RDEPEND="virtual/glibc
>=sys-libs/gdbm-1.8.0
virtual/mta"
src_compile() {
cd ${S}
try ./configure --prefix=/usr --host=${CHOST} \
--disable-tempdir --enable-syslog=1 --with-etcdir=/etc/maildrop \
--enable-maildirquota --enable-userdb
try make
}
src_install () {
cd ${S}/maildrop
insopts -o root -g root -m 4755
insinto /usr/bin
for i in maildrop dotlock
do
doins $i
done
insopts -o root -g root -m 755
insinto /usr/bin
doins reformail
cd ${S}/rfc2045
insopts -o root -g root -m 755
insinto /usr/bin
for i in makemime reformime
do
doins $i
done
cd ${S}/maildir
insopts -o root -g root -m 755
insinto /usr/bin
for i in deliverquota maildirmake
do
doins $i
done
cd ${S}/makedat
insopts -o root -g root -m 755
insinto /usr/bin
for i in makedat makedatprog
do
doins $i
done
cd ${S}/userdb
insopts -o root -g root -m 755
insinto /usr/bin
donewins userdb.pl userdb
for i in makeuserdb pw2userdb userdbpw vchkpw2userdb
do
doins $i
done
cd ${S}
dodoc *.html
doman *.1
doman *.5
doman *.8
dodir /etc/maildrop
}
|