void-packages/srcpkgs/libgpg-error/template

33 lines
866 B
Plaintext

# Template build file for 'libgpg-error'.
pkgname=libgpg-error
version=1.18
revision=1
build_style=gnu-configure
short_desc="Library for error values used by GnuPG component"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnupg.org"
license="LGPL-2.1"
distfiles="ftp://ftp.gnupg.org/gcrypt/libgpg-error/$pkgname-$version.tar.bz2"
checksum=9ff1d6e61d4cef7c1d0607ceef6d40dc33f3da7a3094170c3718c00153d80810
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"
}
}