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

export LDFLAGS="$LDFLAGS -static"
export PKG_CONFIG=pkgconf\ --static

cpt l -q gnutls && export LIBGNUTLS_LIBS="-lgnutls -latomic -lnettle -lhogweed -lnettle"

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

make
make DESTDIR="$1" install