void-packages/srcpkgs/libgcrypt/template
Sir-Boops f4a226ef9c libgcrypt: update to 1.7.8 (#6902)
Fix CVE-2017-7526.
2017-06-30 19:40:15 +02:00

25 lines
747 B
Bash

# Template build file for 'libgcrypt'.
pkgname=libgcrypt
version=1.7.8
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=948276ea47e6ba0244f36a17b51dcdd52cfd1e664b0a1ac3bc82134fb6cec199
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
}
}