milis/talimatname/genel/postfix/talimat

39 lines
1.1 KiB
Plaintext

# URL: http://www.postfix.org
# Packager: berlius at nutyx dot com
# Depends on: db cyrus-sasl openssl icu mariadb openldap pcre postgresql sqlite
description="Mail Transport Agent (MTA) for sending email to other users of your host machine"
name=postfix
version=3.0.3
release=1
source=(ftp://ftp.porcupine.org/mirrors/postfix-release/official/$name-$version.tar.gz)
build() {
cd $name-$version
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
make CCARGS="-DUSE_TLS -I/usr/include/openssl/ \
-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl" \
AUXLIBS="-lssl -lcrypto -lsasl2" \
makefiles
make
sh postfix-install -non-interactive \
daemon_directory=$PKG/usr/lib/postfix \
manpage_directory=$PKG/usr/share/man \
html_directory=$PKG/usr/share/doc/postfix-3.0.3/html \
readme_directory=$PKG/usr/share/doc/postfix-3.0.3/readme
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-postfix
}