aboutsummaryrefslogtreecommitdiff
path: root/extra/gnupg2/build
blob: 972daaed47baa8534d29e95a4514274763c5b443 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

if cpt l gnutls; then
    LIBGNUTLS_CFLAGS="$(pkgconf --static --cflags gnutls)"
    LIBGNUTLS_LIBS="$(pkgconf --static --libs gnutls)"
    export LIBGNUTLS_CFLAGS LIBGNUTLS_LIBS
fi

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \

make
make DESTDIR="$1" install