void-packages/srcpkgs/libgcrypt/template
2017-06-02 23:57:58 +02:00

25 lines
747 B
Bash

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