aboutsummaryrefslogtreecommitdiff
path: root/community/notmuch/build
blob: dcb41b69f4fc8ff2141ede2c8df93a3a77bddfbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e

BASHCMD=$(command -v bash || command -v sh)
export BASHCMD

./configure \
    --prefix=/usr \
    --without-docs \
    --without-api-docs \
    --without-ruby

make
make DESTDIR="$1" install

# For some reason, notmuch doesn't accept the --enable-static/shared options.
# It builds a static library when you run 'make', but it doesn't install the
# built library. Confusing.
install -Dm755 lib/libnotmuch.a "$1/usr/lib/libnotmuch.a"