milis/talimatname/genel/e/exim/talimat

39 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-03-23 12:29:12 +01:00
# Description: Exim, Internet'e bağlı Unix sistemlerinde kullanılmak üzere Cambridge Üniversitesi'nde geliştirilen bir mesaj aktarma aracısıdır (MTA).
2017-01-31 01:37:09 +01:00
# URL: http://www.exim.org
# Packager: berlius at nutyx dot com
# Depends on: db openssl pcre cyrus-sasl libidn pam mariadb openldap openssl gnutls postgresql sqlite xorg
2016-02-24 01:27:23 +01:00
name=exim
version=4.86
release=1
2017-01-31 01:37:09 +01:00
source=(ftp://ftp.exim.org/pub/exim/exim4/$name-$version.tar.bz2)
2016-02-24 01:27:23 +01:00
build() {
cd $name-$version
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
2017-01-31 01:37:09 +01:00
tar xvf $scripts-$scriptsversion.tar.bz2
2016-02-24 01:27:23 +01:00
sed -e 's,^BIN_DIR.*$,BIN_DIRECTORY=/usr/sbin,' \
-e 's,^CONF.*$,CONFIGURE_FILE=/etc/exim.conf,' \
-e 's,^EXIM_USER.*$,EXIM_USER=exim,' \
2017-01-31 01:37:09 +01:00
-e 's,^EXIM_MONITOR,#EXIM_MONITOR,' src/EDITME > Local/Makefile
2016-02-24 01:27:23 +01:00
printf "USE_GDBM = yes\nDBMLIB = -lgdbm\n" >> Local/Makefile
2017-01-31 01:37:09 +01:00
make
2016-02-24 01:27:23 +01:00
make DESTDIR=$PKG install
2017-01-31 01:37:09 +01:00
install -v -d -m755 $PKG/usr/share/man/man8
install -v -m644 doc/exim.8 $PKG/usr/share/man/man8
install -v -d -m755 $PKG/usr/share/doc/exim-4.86
install -v -m644 doc/* $PKG/usr/share/doc/exim-4.86
2016-02-24 01:27:23 +01:00
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-exim
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
}