summaryrefslogtreecommitdiff
path: root/repo/system/libgcrypt/libgcrypt.xibuild
blob: 4c905522dfdb21eec05dd66a1d34d0d583cf9f00 (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.9.4
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
}