2006-02-23 16:26:10 +01:00
|
|
|
# Description: Text-based email client that sucks less
|
|
|
|
# URL: http://www.mutt.org
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2008-05-21 10:21:46 +02:00
|
|
|
# Depends on: gdbm ncurses openssl zlib
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=mutt
|
2017-09-24 10:52:08 +02:00
|
|
|
version=1.9.1
|
2016-07-26 14:34:36 +02:00
|
|
|
release=1
|
2015-09-03 17:28:59 +02:00
|
|
|
source=(https://bitbucket.org/mutt/mutt/downloads/$name-$version.tar.gz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2007-04-10 16:51:38 +02:00
|
|
|
|
2017-04-01 16:14:10 +02:00
|
|
|
sed -re '/^makedoc-all/s/manual\.(html|txt)//g' \
|
|
|
|
-re '/^makedoc-all/s/stamp-doc-chunked//g' -i doc/Makefile.in
|
2016-07-29 11:25:54 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-docdir=/usr/share/mutt \
|
2007-02-25 11:04:04 +01:00
|
|
|
--with-mailpath=/var/spool/mail \
|
2006-02-23 16:26:10 +01:00
|
|
|
--enable-pop \
|
|
|
|
--enable-imap \
|
|
|
|
--with-ssl \
|
|
|
|
--enable-hcache \
|
2007-04-10 16:51:38 +02:00
|
|
|
--disable-nls \
|
2016-08-18 17:32:59 +02:00
|
|
|
--enable-sidebar \
|
2016-07-26 14:34:36 +02:00
|
|
|
# --enable-gpgme \
|
|
|
|
# --enable-smtp --with-sasl
|
2007-04-10 16:51:38 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-04-10 16:51:38 +02:00
|
|
|
|
2008-05-21 10:21:46 +02:00
|
|
|
find $PKG/usr/share/mutt/* ! -name manual.txt -delete
|
2006-08-22 15:20:46 +02:00
|
|
|
rm $PKG/usr/etc/{Muttrc,mime.types}.dist
|
2006-02-23 16:26:10 +01:00
|
|
|
rm $PKG/usr/bin/{flea,muttbug}
|
2016-05-30 18:13:57 +02:00
|
|
|
rm $PKG/usr/share/man/man1/{flea.1,muttbug.1}
|
|
|
|
rm $PKG/usr/share/man/man5/{mmdf.5,mbox.5}
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|