void-packages/srcpkgs/libgpg-error/template
maxice8 59dee3cef8 libgpg-error: update to 1.28.
Closes: #12468 [via git-merge-pr]
2018-03-15 19:29:15 -07:00

32 lines
896 B
Bash

# Template build file for 'libgpg-error'.
pkgname=libgpg-error
version=1.28
revision=1
build_style=gnu-configure
short_desc="Library for error values used by GnuPG component"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnupg.org"
license="LGPL-2.1-or-later, GPL-2.0-or-later"
distfiles="ftp://ftp.gnupg.org/gcrypt/libgpg-error/$pkgname-$version.tar.bz2"
checksum=3edb957744905412f30de3e25da18682cbe509541e18cd3b8f9df695a075da49
post_configure() {
if [ "$CROSS_BUILD" ]; then
cp ${FILESDIR}/lock-obj-pub.arm.h \
src/syscfg/lock-obj-pub.${XBPS_CROSS_TRIPLET#*-}.h
fi
}
post_install() {
rm -rf ${DESTDIR}/usr/share/common-lisp
}
libgpg-error-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/gpg-error-config
vmove usr/include
vmove usr/share/aclocal
vmove "usr/lib/*.so"
}
}