blob: 13d58b9ef6edb519fd9535176f10d68bd0ff7fbf (
plain)
1 # Description: Mail Delivery Agent with filtering abilities
2 # URL: http://www.courier-mta.org/maildrop/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: gdbm libpcre
5
6 name=maildrop
7 version=2.7.0
8 release=1
9 source=(http://download.sourceforge.net/project/courier/$name/$version/$name-$version.tar.bz2)
10
11 build () {
12 cd $name-$version
13
14 sed -i '/^MAILDROPMAN/s/=/= makedat.1/' Makefile.in
15
16 ./configure --prefix=/usr \
17 --mandir=/usr/man \
18 --with-db=gdbm \
19 --enable-maildrop-uid=root \
20 --enable-maildrop-gid=root \
21 --disable-tempdir \
22 --enable-syslog=1
23 make
24 make DESTDIR=$PKG install
25
26 chmod u+s $PKG/usr/bin/maildrop
27 rm -r $PKG/usr/{man/man3,share}
28 }
|