summaryrefslogtreecommitdiff
path: root/repo/libgcrypt/libgcrypt.xibuild
blob: 51497d5a9aef385ecfdaaa6c9886549f9103ac4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

MAKEDEPS="make"
DEPS="musl libgpg-error"

PKG_VER=1.10.1
SOURCE=https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-$PKG_VER.tar.bz2
DESC="General purpose crypto library based on the code used in GnuPG"

build () {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-static
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}