summaryrefslogtreecommitdiff
path: root/maildrop
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2008-10-01 13:56:01 +0200
committerJuergen Daubert <jue@jue.li>2008-10-01 13:56:01 +0200
commita1b2a671f2e8db6d97914ff982c8fc15344bfe55 (patch)
treeb07b870cd23c954f614dba35df7ab80246f794ae /maildrop
parentfa5efcd2319eaea31ec62a6de7add0771c60c58b (diff)
downloadopt-a1b2a671f2e8db6d97914ff982c8fc15344bfe55.tar.gz
opt-a1b2a671f2e8db6d97914ff982c8fc15344bfe55.tar.xz
maildrop: use system libpcre
Diffstat (limited to 'maildrop')
-rw-r--r--maildrop/.md5sum1
-rw-r--r--maildrop/Pkgfile17
2 files changed, 5 insertions, 13 deletions
diff --git a/maildrop/.md5sum b/maildrop/.md5sum
index 2b8849d7f..cae091afd 100644
--- a/maildrop/.md5sum
+++ b/maildrop/.md5sum
@@ -1,2 +1 @@
6a760efe429716ab0be67a1ddc554ed7 maildrop-2.0.4.tar.bz2
-4b2e9cde1f7227448dddba59843efa0b pcre-7.7.tar.bz2
diff --git a/maildrop/Pkgfile b/maildrop/Pkgfile
index 7c624e80d..5491b6f9c 100644
--- a/maildrop/Pkgfile
+++ b/maildrop/Pkgfile
@@ -1,30 +1,23 @@
# Description: Mail Delivery Agent with filtering abilities
# URL: http://www.courier-mta.org/maildrop/
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
-# Depends on: gdbm
+# Depends on: gdbm libpcre
name=maildrop
version=2.0.4
-release=2
-source=(http://dl.sourceforge.net/sourceforge/courier/$name-$version.tar.bz2 \
- ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.7.tar.bz2)
+release=3
+source=(http://dl.sourceforge.net/sourceforge/courier/$name-$version.tar.bz2)
build () {
- cd pcre-7.7
- ./configure --prefix=/ --enable-shared=no
- make
- make DESTDIR=$SRC install
+ cd $name-$version
- cd $SRC/$name-$version
sed -i '/^MAILDROPMAN/s/=/= makedat.1/' Makefile.in
- CPPFLAGS="-I$SRC/include" LDFLAGS="-L$SRC/lib" \
./configure --prefix=/usr \
--with-db=gdbm \
--disable-tempdir
- make
+ make
make DESTDIR=$PKG install
- chown root:root $PKG/usr/bin/{maildrop,lockmail}
rm -r $PKG/usr/{include,lib,man/man3,share}
}

Generated by cgit