void-packages/srcpkgs/libgcrypt/template
2016-04-16 07:52:15 +02:00

25 lines
746 B
Bash

# Template build file for 'libgcrypt'.
pkgname=libgcrypt
version=1.7.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="http://www.gnupg.org"
license="LGPL-2.1"
distfiles="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2"
checksum=b0e67ea74474939913c4d9d9ef4ef5ec378efbe2bebe36389dee319c79bffa92
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
}
}