34 lines
948 B
Bash
34 lines
948 B
Bash
# Template file for 'libgpg-error'
|
|
pkgname=libgpg-error
|
|
version=1.46
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-install-gpg-error-config"
|
|
short_desc="Library for error values used by GnuPG component"
|
|
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
|
license="LGPL-2.1-or-later, GPL-2.0-or-later"
|
|
homepage="https://www.gnupg.org"
|
|
distfiles="https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=b7e11a64246bbe5ef37748de43b245abd72cfcd53c9ae5e7fc5ca59f1c81268d
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends="qemu-user-static"
|
|
fi
|
|
|
|
post_install() {
|
|
rm -r ${DESTDIR}/usr/share/common-lisp
|
|
}
|
|
|
|
libgpg-error-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin/gpgrt-config
|
|
vmove usr/bin/gpg-error-config
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/aclocal
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|