30 lines
693 B
Bash
Executable File
30 lines
693 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--ssl \
|
|
--sasl \
|
|
--gnutls \
|
|
--disable-nls \
|
|
--disable-idn \
|
|
--disable-doc \
|
|
--zlib
|
|
|
|
make
|
|
make DESTDIR="$1" install
|
|
|
|
# Install the man pages.
|
|
# The neomutt.1 and neomuttrc.5 are usually generated (when running
|
|
# ./configure without --disable-doc) but this requires an internet
|
|
# connection (!?), so I've included them as local sources. The other
|
|
# ones are provided in the tarball.
|
|
install -Dm644 -t "$1/usr/share/man/man1/" \
|
|
docs/neomutt.1 \
|
|
docs/pgpewrap.1 \
|
|
docs/smime_keys.1
|
|
install -Dm644 -t "$1/usr/share/man/man5/" \
|
|
docs/neomuttrc.5 \
|
|
docs/mbox.5 \
|
|
docs/mmdf.5
|