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

./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"