contrib/qmail/Pkgfile
2006-11-19 20:16:09 +01:00

33 lines
764 B
Plaintext

# Maintainer: Han Boetes <han@mijncomputer.nl>
# Description: qmail is the proof security-bugfree software can be written.
# URL: http://www.qmail.org/
# Depends on:
name=qmail
version=1.05
release=1
source="
http://qmail.org/netqmail-$version.tar.gz
patch-Makefile
"
build ()
{
if ! grep -q qmaild /etc/passwd; then
echo "Read the README!" >&2
false
fi
cd net$name-$version
./collate.sh
cd net$name-$version
patch -i $SRC/patch-Makefile
echo "${CC:=gcc} $CFLAGS" > conf-cc
echo "${CC:=gcc -s}" > conf-ld
make it man
install -d $PKG/{var,usr/sbin}
echo "$PKG/var/qmail" > conf-qmail
make setup check
ln -s /var/qmail/bin/sendmail $PKG/usr/sbin/sendmail
strip $PKG/var/qmail/bin/* || :
}