bin/setup-neomutt

changeset 569
0190a692645c
parent 558
2ee5e91dbf58
child 596
8de875515620
equal deleted inserted replaced
568:d2eda02fa3c0 569:0190a692645c
14 git -C sandbox/neomutt pull 14 git -C sandbox/neomutt pull
15 fi 15 fi
16 16
17 cd sandbox/neomutt 17 cd sandbox/neomutt
18 18
19 case "${OSTYPE:-}" in 19 PLATFORM="$(uname -o)"
20 HCACHE="tokyocabinet"
21
22 case "$PLATFORM" in
20 darwin*) 23 darwin*)
21 # Use macports' headers 24 # Use macports' headers
22 OPENSSL_PREFIX=/opt/local 25 OPENSSL_PREFIX=/opt/local
26 ;;
27 Cygwin)
28 HCACHE=lmdb
23 ;; 29 ;;
24 esac 30 esac
25 31
26 ./prepare -q \ 32 ./prepare -q \
27 --with-mailpath=/var/spool/mail \ 33 --with-mailpath=/var/spool/mail \
28 --with-ssl${OPENSSL_PREFIX:+=$OPENSSL_PREFIX} \ 34 --with-ssl${OPENSSL_PREFIX:+=$OPENSSL_PREFIX} \
29 --with-sasl \ 35 --with-sasl \
30 --with-tokyocabinet \ 36 --with-${HCACHE} \
31 --enable-gpgme \ 37 --enable-gpgme \
32 --enable-imap --enable-smtp \ 38 --enable-imap --enable-smtp \
33 39
34 make -s -j3 40 make -s -j3
35 41
53 =head2 Debian 59 =head2 Debian
54 60
55 apt install autoconf links pandoc gnupg2 gpgsm urlscan libncursesw5-dev \ 61 apt install autoconf links pandoc gnupg2 gpgsm urlscan libncursesw5-dev \
56 libssl-dev libsasl2-dev libtokyocabinet-dev libgpgme11-dev 62 libssl-dev libsasl2-dev libtokyocabinet-dev libgpgme11-dev
57 63
64 =head2 Cygwin / Babun
65
66 pact install autoconf links libncursesw-devel openssl-devel libsasl2-devel \
67 liblmdb-devel libgpgme-devel
68
69 gpg2 isn't available in cygwin, but there is a windows build. using it with
70 cygwin paths requires a wrapper though.
71
58 =cut 72 =cut

mercurial