Juergen Daubert
ba61297803
To avoid problem with core ports like sed and awk linking against libpcre, I've decided to build pcre within the maildrop port and link statically
28 lines
820 B
Plaintext
28 lines
820 B
Plaintext
# Description: Mail Delivery Agent with filtering abilities
|
|
# URL: http://www.courier-mta.org/maildrop/
|
|
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
|
|
# Depends on: gdbm
|
|
|
|
name=maildrop
|
|
version=2.0.2
|
|
release=1
|
|
source=(http://dl.sourceforge.net/sourceforge/courier/$name-$version.tar.bz2 \
|
|
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-6.7.tar.bz2)
|
|
|
|
build () {
|
|
cd pcre-6.7
|
|
./configure --prefix=/ --enable-shared=no
|
|
make
|
|
make DESTDIR=$SRC install
|
|
|
|
cd $SRC/$name-$version
|
|
CPPFLAGS="-I$SRC/include" LDFLAGS="-L$SRC/lib" \
|
|
./configure --prefix=/usr \
|
|
--with-db=gdbm \
|
|
--disable-tempdir
|
|
make
|
|
make DESTDIR=$PKG install
|
|
chmod u+s $PKG/usr/bin/maildrop
|
|
rm -r $PKG/usr/{include,lib,man/man3,share}
|
|
}
|