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 |