bin/setup-neomutt

changeset 663
0f2e760661e8
parent 645
2b7084ae3b6c
child 664
66ba2d649859
equal deleted inserted replaced
662:07cc0c3f1076 663:0f2e760661e8
16 fi 16 fi
17 17
18 cd sandbox/neomutt 18 cd sandbox/neomutt
19 19
20 PLATFORM="$(uname -s)" 20 PLATFORM="$(uname -s)"
21 CONFIGURE_OPTIONS=''
21 HCACHE="tokyocabinet" 22 HCACHE="tokyocabinet"
22 23
23 case "$PLATFORM" in 24 case "$PLATFORM" in
24 Darwin) 25 Darwin)
25 # Use macports' headers 26 # Use macports' headers
26 OPENSSL_PREFIX=/opt/local 27 CONFIGURE_OPTIONS='--with-ssl=/opt/local --with-gpgme=/opt/local'
27 ;;
28 Cygwin)
29 HCACHE=lmdb
30 ;; 28 ;;
31 esac 29 esac
32 30
33 autoreconf -i --force 31 autoreconf -i --force || true
34 32
35 ./configure -q \ 33 ./configure \
36 --with-mailpath=/var/spool/mail \ 34 --with-mailpath=/var/spool/mail \
37 --with-ssl${OPENSSL_PREFIX:+=$OPENSSL_PREFIX} \ 35 --ssl \
38 --with-sasl \ 36 --sasl \
39 --with-${HCACHE} \ 37 --lmdb \
40 --enable-gpgme \ 38 --gpgme \
41 --disable-doc --disable-po 39 $CONFIGURE_OPTIONS \
40 --disable-doc
42 41
43 make -s -j3 42 make -s -j3
44 43
45 cd ~/bin 44 cd ~/bin
46 for BIN in neomutt mutt_dotlock pgpewrap; do 45 for BIN in neomutt mutt_dotlock pgpewrap; do
61 =head1 REQUIREMENTS 60 =head1 REQUIREMENTS
62 61
63 =head2 Debian 62 =head2 Debian
64 63
65 apt install autoconf links pandoc gnupg2 gpgsm urlscan libncursesw5-dev \ 64 apt install autoconf links pandoc gnupg2 gpgsm urlscan libncursesw5-dev \
66 libssl-dev libsasl2-dev libtokyocabinet-dev libgpgme11-dev 65 libssl-dev libsasl2-dev liblmdb-dev libgpgme11-dev
67 66
68 =head2 Cygwin / Babun 67 =head2 Cygwin / Babun
69 68
70 pact install autoconf links libncursesw-devel openssl-devel libsasl2-devel \ 69 pact install autoconf links libncursesw-devel openssl-devel libsasl2-devel \
71 liblmdb-devel libgpgme-devel 70 liblmdb-devel libgpgme-devel

mercurial