void-packages/srcpkgs/libgcrypt/template

25 lines
750 B
Bash

# Template build file for 'libgcrypt'.
pkgname=libgcrypt
version=1.6.3
revision=2
build_style=gnu-configure
configure_args="--enable-static --with-capabilities"
makedepends="libcap-devel libgpg-error-devel"
short_desc="GNU cryptographic library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnupg.org"
license="LGPL-2.1"
distfiles="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$version.tar.bz2"
checksum=41b4917b93ae34c6a0e2127378d7a4d66d805a2a86a09911d4f9bd871db7025f
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
}
}