void-packages/srcpkgs/libgcrypt/template

30 lines
897 B
Bash

# Template build file for 'libgcrypt'.
pkgname=libgcrypt
version=1.8.0
revision=1
build_style=gnu-configure
configure_args="--enable-static --without-capabilities"
makedepends="libgpg-error-devel"
short_desc="GNU cryptographic library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://www.gnupg.org"
license="LGPL-2.1"
distfiles="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2"
checksum=23e49697b87cc4173b03b4757c8df4314e3149058fa18bdc4f82098f103d891b
case "$XBPS_TARGET_MACHINE" in
armv[5-6]*) broken="https://build.voidlinux.eu/builders/armv6l_builder/builds/3952/steps/shell_3/logs/stdio" ;;
esac
libgcrypt-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/libgcrypt-config
vmove usr/include
vmove usr/share
vmove usr/lib/*.so
vmove usr/lib/*.a
}
}