void-packages/srcpkgs/libgcrypt/template
2015-09-09 09:26:38 +02:00

25 lines
740 B
Bash

# Template build file for 'libgcrypt'.
pkgname=libgcrypt
version=1.6.4
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="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$version.tar.bz2"
checksum=c9bc2c7fe2e5f4ea13b0c74f9d24bcbb1ad889bb39297d8082aebf23f4336026
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
}
}