summaryrefslogtreecommitdiff
path: root/repo/libgpg-error/libgpg-error.xibuild
blob: 9850262edfbc2dcf380491d8857698abb56b87f4 (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
25
26
27
28
#!/bin/sh

NAME="libgpg-error"
DESC="Support library for libgcrypt"

MAKEDEPS=" automake autoconf"

PKG_VER=1.45
SOURCE="https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-$PKG_VER.tar.bz2"

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

check() {
	make -C "$BUILD_ROOT" check
}

package() {
	make DESTDIR="$PKG_DEST" install
}