32 lines
869 B
Bash
32 lines
869 B
Bash
# Template build file for 'libgpg-error'.
|
|
pkgname=libgpg-error
|
|
version=1.26
|
|
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"
|
|
distfiles="ftp://ftp.gnupg.org/gcrypt/libgpg-error/$pkgname-$version.tar.bz2"
|
|
checksum=4c4bcbc90116932e3acd37b37812d8653b1b189c1904985898e860af818aee69
|
|
|
|
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"
|
|
}
|
|
}
|