# Description: A small library defining error values for GnuPG components
# URL: https://www.gnupg.org
# Maintainer: CRUX System Team, core-ports at crux dot nu

name=libgpg-error
version=1.48
release=1
source=(https://www.gnupg.org/ftp/gcrypt/$name/$name-$version.tar.bz2)

build() {
	cd $name-$version

	./configure \
		--prefix=/usr \
		--disable-nls \
		--enable-static \
		--enable-install-gpg-error-config
	make
	make DESTDIR=$PKG install

	rm -r $PKG/usr/share/info/
}
